Skip to content

Commit

Permalink
[linux] remove unnecessary compiler warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
madratman committed May 7, 2020
1 parent da7dd53 commit cd61e47
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions cmake/cmake-modules/CommonSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ macro(CommonSetup)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wstrict-aliasing -D__CLANG__")
else ()
set(CMAKE_CXX_FLAGS "\
-std=c++17 -ggdb -Wall -Wextra -Wstrict-aliasing -Wunreachable-code -Wcast-qual -Wctor-dtor-privacy \
-Wdisabled-optimization -Wformat=2 -Winit-self -Wmissing-include-dirs -Wswitch-default \
-Wold-style-cast -Woverloaded-virtual -Wredundant-decls -Wshadow -Wstrict-overflow=5 -Wswitch-default -Wundef \
-Wno-variadic-macros -Wno-parentheses -Wno-unused-function -Wno-unused -fdiagnostics-show-option \
-std=c++17 -ggdb -Wall -Wextra \
-pthread \
${RPC_LIB_DEFINES} ${CMAKE_CXX_FLAGS}")

Expand Down

0 comments on commit cd61e47

Please sign in to comment.