Skip to content
This repository has been archived by the owner on Mar 3, 2020. It is now read-only.

Commit

Permalink
/handshake.hpp:107:140: error: this statement may fall through
Browse files Browse the repository at this point in the history
  • Loading branch information
ebruck committed May 7, 2019
1 parent 6e7989d commit dd67ae7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,8 @@ add_compile_options("-fdiagnostics-color=auto")

add_definitions(-DBOOST_ERROR_CODE_HEADER_ONLY)

#set(warnings "-Wno-deprecated-declarations -Wall -Wextra -Wpedantic")
set(warnings "-Wno-deprecated-declarations -Wall -Wextra -Werror -Wpedantic")
set(warnings "-Wno-deprecated-declarations -Wall -Wextra -Werror -Wpedantic -Wno-implicit-fallthrough")
if (APPLE)
#set(warnings "${warnings} -Werror=extended-offsetof")
set(warnings "${warnings} -Wno-extended-offsetof")
endif(APPLE)

Expand Down

0 comments on commit dd67ae7

Please sign in to comment.