[Qt4-preview-feedback] TONS of dllimport warnings when using MinGW + GCC 4.3
Sven Grunewaldt
strayer at olle-orks.org
Fri Feb 6 12:51:33 CET 2009
Am 06.02.2009 12:40, schrieb Juergen Hunold:
> Hi Sven !
>
> On Friday 06 February 2009, Sven Grunewaldt wrote:
>
>> 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!
>>
>
> Nice to hear. Seems I got all my patches in ;-))
>
>
>> 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.
>>
>
> The same here.
>
>
>> Is it at least possible to hide these specific warnings?
>>
>
> This is not a Qt problem. This happens if you don't use "auto-import"
> but dllexport/dllimport directly. This happend in our own code, too, so
> I've disabled it again.
>
> I believe this is
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34749
>
> a known mingw-4.3.x problem.
>
> Hope this helps !
>
> Yours,
>
> Jürgen
>
Ahh, I've missed that one while searching on google, thanks for the
heads up ;) Seems gcc4 is still a "mess" on Windows... But it's great
that Qt finally compiles using gcc4!
Sorry Nokia/Trolltech for the confusion!
Regards,
Sven Grunewaldt
More information about the Qt4-feedback
mailing list