Skip to content

Commit

Permalink
Removed pedantic flag from cmake
Browse files Browse the repository at this point in the history
  • Loading branch information
anarthal committed Dec 20, 2023
1 parent d33b220 commit 99a91d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/test_utils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function(boost_mysql_common_target_settings TARGET_NAME)
target_compile_options(${TARGET_NAME} PUBLIC -Wall -Wextra -Werror -Wno-implicit-fallthrough)
else()
# -Wno-gnu-zero-variadic-macro-arguments is required by Boost.Describe, for empty base class lists
target_compile_options(${TARGET_NAME} PUBLIC -Wall -Wextra -Wpedantic -Werror -Wno-gnu-zero-variadic-macro-arguments)
target_compile_options(${TARGET_NAME} PUBLIC -Wall -Wextra -Werror -Wno-gnu-zero-variadic-macro-arguments)
endif()

set_target_properties(${TARGET_NAME} PROPERTIES CXX_EXTENSIONS OFF) # disable extensions
Expand Down

0 comments on commit 99a91d8

Please sign in to comment.