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 e90502f
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions cmake/cmake-modules/CommonSetup.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,8 @@ 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 \
-Wno-variadic-macros -Wno-parentheses -Wno-unused-function -Wno-unused \
-pthread \
${RPC_LIB_DEFINES} ${CMAKE_CXX_FLAGS}")

Expand Down

0 comments on commit e90502f

Please sign in to comment.