[Qt-interest] QMAKE_CXXFLAGS += -Wno-reorder fails because qmake adds -Wall after it
Lorenzo Bettini
bettini at dsi.unifi.it
Wed Jul 8 14:29:23 CEST 2009
Have you tried with?
CONFIG+=warn_off
Bart van Deenen wrote:
> 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
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134 (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net
More information about the Qt-interest-old
mailing list