[Webkit-unassigned] [Bug 63941] Compilation bug - gcc 4.6.0 and c++0x

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 21 12:06:25 PDT 2011


https://bugs.webkit.org/show_bug.cgi?id=63941





--- Comment #9 from Loïc Yhuel <loic.yhuel_ext at softathome.com>  2011-07-21 12:06:25 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > > 
> > > > So the patch removes second -Wall (the Fedora one), keeping the first (QtWebKit one).
> > > 
> > > I'm a bit lost here. What do you mean by "the Fedora one"?
> > qmake.conf from Fedora :
> > QMAKE_CFLAGS_RELEASE    += -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2  -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i686 -mtune=atom -fasynchronous-unwind-tables
> > The patch removes this -Wall, added by Fedora Qt configuration, and keeps the one from WebKit.pri.
> 
> So the patch only works when building on this specific fedora, it disables the flag everywhere else...
No, QMAKE_CXXFLAGS is not modified, the -Wall added in WebKit.pri is still there, so the command line doesn't change on other distributions.
> 
> We're working on fixing the c++0x compatibility issues (the root of the problem) and since we're using -Werror by default on Linux, I'm afraid you'll have to workaround this for a while when building on Fedora15.
> 
> Will keep the bug open for a while, until we have more news regarding c++0x support.
It's not only -Wno-c++0x-compat, it's the same with -Wno-sign-compare and -Wno-switch (but I don't know if they would occur).

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list