[Qt-interest] QMAKE_CXXFLAGS += -Wno-reorder fails because qmake adds -Wall after it
Bart van Deenen
bvandeenen at infologic.nl
Tue Jul 7 11:19:40 CEST 2009
Hi
I'm getting these irritating gcc compiler warnings that I don't care about.
sibling.h: In constructor ‘Sibling::Sibling(int, QHostAddress)’:
sibling.h:13: warning: ‘Sibling::up’ will be initialized after
sibling.h:12: warning: ‘int Sibling::retry_ct’
The way to not generate these errors is with -Wno-reorder, but qmake adds a
-Wall after my -Wno-reorder, which cancels the wanted effect.
How do I tell qmake to add -Wno-reorder AFTER the -Wall it adds itself to the
make file.
Thanks
Bart van Deenen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090707/dd31c74d/attachment.html
More information about the Qt-interest-old
mailing list