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 d259f60 commit 81cb7e5Copy full SHA for 81cb7e5
CMakeLists.txt
@@ -97,7 +97,7 @@ endif( MSVC )
97
98
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
99
# using regular Clang or AppleClang
100
- set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall")
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -Wall -Wshorten-64-to-32")
101
elseif ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
102
# using GCC
103
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x -Wall -Wextra -pedantic")
0 commit comments