[Qt4-preview-feedback] TONS of dllimport warnings when using MinGW + GCC 4.3
Juergen Hunold
juergen.hunold at ivembh.de
Fri Feb 6 12:40:56 CET 2009
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
--
* Dipl.-Math. Jürgen Hunold ! Ingenieurgesellschaft für
* voice: ++49 511 262926 57 ! Verkehrs- und Eisenbahnwesen mbH
* fax : ++49 511 262926 99 ! Lister Straße 15
* juergen.hunold at ivembh.de ! www.ivembh.de
*
* Geschäftsführer: ! Sitz des Unternehmens: Hannover
* Prof. Dr.-Ing. Thomas Siefer ! Amtsgericht Hannover, HRB 56965
* PD Dr.-Ing. Alfons Radtke !
More information about the Qt4-feedback
mailing list