[Qt] Don't warn about override and final being C++11 extensions
authorvestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Jan 2012 14:32:41 +0000 (14:32 +0000)
committervestbo@webkit.org <vestbo@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Jan 2012 14:32:41 +0000 (14:32 +0000)
commit3fc4b82c691cf3ae31384538f1e8e8452ed41bba
treeae0135b0b2f29a8c5eee608fcf4c598bbd6c52de
parent45e09340f8b87e5e574138d5cf505f47ac0a13f4
[Qt] Don't warn about override and final being C++11 extensions

Clang will emit a warning when these extensions are used without passing
--std=c++11, but we use feature checking to decide if we have the right
extensions, so we can safely ignore these warnings. The XCode and Windows
project files have the same workaround.

The reason for adding the flag to QMAKE_OBJECTIVE_CFLAGS as well is that
we only have one extra compiler for Objective-C, which is also used for
Objective-C++ sources, so we have to pass the flag, even if it doesn't
make sense for Objective-C.

Reviewed by Simon Hausmann.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@105616 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Tools/ChangeLog
Tools/qmake/mkspecs/features/unix/default_post.prf