Skip to content

Commit e6635ec

Browse files
committed
Update
1 parent 2adb941 commit e6635ec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@ check_compiler()
312312
if(DEFINED ENV{WERROR} AND "$ENV{WERROR}")
313313
message(STATUS "Will compile with -Werror. ")
314314
set(CMAKE_CXX_FLAGS
315-
"${CMAKE_CXX_FLAGS} -Wall -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Wno-variadic-macros -Wshadow -Wformat-security -Werror -Wno-sign-compare -Wno-reorder -Wno-unused-variable -Wno-unused-but-set-variable -Wfatal-errors"
315+
"${CMAKE_CXX_FLAGS} -Wall -Wno-non-virtual-dtor -Wwrite-strings -Wpointer-arith -Wshadow -Wformat-security -Werror -Wno-sign-compare -Wno-reorder -Wno-unused-variable -Wno-unused-but-set-variable -Wfatal-errors"
316316
)
317317
else()
318318
if(NOT APPLE)
@@ -321,7 +321,7 @@ else()
321321
"Set env WERROR to 1 to enable -Werror. If origin/dev compiles on your platform with that option, it is definitly a good idea to do that."
322322
)
323323
set(CMAKE_CXX_FLAGS
324-
"${CMAKE_CXX_FLAGS} -Wall -pedantic -Wno-non-virtual-dtor -Wno-long-long -Wwrite-strings -Wpointer-arith -Woverloaded-virtual -Wno-variadic-macros -Wshadow -Wformat-security -Wno-sign-compare -Wno-reorder -Wno-unused-variable -Wno-unused-but-set-variable"
324+
"${CMAKE_CXX_FLAGS} -Wall -Wextra -Wpedantic -Wno-ignored-qualifiers -Wfatal-errors -Wno-vla -Wwrite-strings -Woverloaded-virtual -Wshadow -Wformat-security -Wno-sign-compare -Wno-reorder"
325325
)
326326
endif()
327327
endif()

0 commit comments

Comments
 (0)