[Qt4-preview-feedback] TONS of dllimport warnings when using MinGW + GCC 4.3

Thiago Macieira thiago.macieira at trolltech.com
Fri Feb 6 12:38:06 CET 2009


Em Sexta-feira 06 Fevereiro 2009, às 12:21:01, Sven Grunewaldt escreveu:
> Hi,
>
> Just for the fun of it I compiled the RC and the latest QtCreator with
> GCC 4.3 (http://www.tdragon.net/recentgcc/) and everything worked
> perfectly!
>
> Now, when I compile one of my applications, I get hundreds of warnings
> like these:
> E:/Entwicklung/Qt/Berichte-Ork/../../lib/qt-4.5.0-rc1/include/QtCore/../../
>src/corelib/tools/qbitarray.h:53: warning: 'uint qHash(const QBitArray&)'
> redeclared without dllimport attribute: previous dllimport ignored
>
> QtCreator sums them up to 209.
> This is quite a killer since I can't really find warnings that I
> produced with my code between all this stuff.
>
> Is it at least possible to hide these specific warnings?

Hi Sven,

Unfortunately, GCC 4.3 is not officially supported for MinGW. The only version 
we test with internally is 3.4. That means we are not seeing the warnings 
you're mentioning and cannot thus fix them.

However, we can accept patches fixing issues you may find.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
     Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt.nokia.com/pipermail/qt4-feedback/attachments/20090206/79f1497e/attachment.bin 


More information about the Qt4-feedback mailing list