Silence some compiler warnings from Qt headers in clang 4.2 and gcc 4.8.

Fixes issue #3620
This commit is contained in:
John Maguire 2013-04-15 21:42:59 -07:00
parent af737057d0
commit 3072a32fde
1 changed files with 1 additions and 1 deletions

View File

@ -1,6 +1,6 @@
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual -Wall -Wno-sign-compare -Wno-deprecated-declarations --std=c++0x -U__STRICT_ANSI__")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual -Wall -Wno-sign-compare -Wno-deprecated-declarations -Wno-unused-local-typedefs -Wno-unused-private-field -Wno-unknown-warning-option --std=c++0x -U__STRICT_ANSI__")
option(BUILD_WERROR "Build with -Werror" ON)