We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d65c196 commit b3ce035Copy full SHA for b3ce035
clang/CMakeLists.txt
@@ -49,7 +49,7 @@ configure_file(
49
if (CMAKE_COMPILER_IS_GNUCXX)
50
# FIXME: Turn off exceptions, RTTI:
51
# -fno-exceptions -fno-rtti
52
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fno-common -Woverloaded-virtual -Wcast-qual -fno-strict-aliasing -pedantic -Wno-long-long -Wall -W -Wno-unused-parameter -Wwrite-strings")
53
endif ()
54
55
if (APPLE)
0 commit comments