[Qt-interest] QDebugStream quit working with Qt 4.8.0-rc1 and new compiler

Thiago Macieira thiago at kde.org
Mon Oct 31 00:39:13 CET 2011


On Sunday, 30 de October de 2011 23:35:29 Andreas Pakulat wrote:
> Since gcc 4.7.0 is not even released yet and as far as I understand
> still in 'feature-development' stage I'd currently bet on your
> gcc-upgrade causing the problem.

And I'd also say that testing gcc 4.7.0 on a more "supported" platform like 
Linux would be recommended. (supported by GCC developers)

When I tried to build Qt with gcc 4.6.0 on Windows (mingw), I had to apply 
patches to make it work.

Also, there's another variable you may have failed to consider: this 
QDebugStream class. I was baffled for a moment trying to understand how your 
code might work, until I reread and noticed "that I downloaded from the list 
archive". That class may be buggy and relying on undocumented behaviour of 
either Qt or iostream. Before you cry wolf on either Qt or GCC, please ensure 
that the code there is correct.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
   Software Architect - Intel Open Source Technology Center
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20111031/684cdb31/attachment.bin 


More information about the Qt-interest-old mailing list