Skip to content

Commit

Permalink
suppress clang 19 warning
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd committed Jan 18, 2025
1 parent 01f7b6d commit a817595
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/QuillUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ function(set_common_compile_options target_name)
target_compile_options(${target_name} ${COMPILE_OPTIONS_VISIBILITY}
$<$<OR:$<CXX_COMPILER_ID:Clang>,$<CXX_COMPILER_ID:AppleClang>,$<CXX_COMPILER_ID:GNU>>:
-Wall -Wextra -pedantic -Werror -Wredundant-decls>
$<$<AND:$<CXX_COMPILER_ID:Clang>, $<VERSION_GREATER:$<CXX_COMPILER_VERSION>,17>, $<VERSION_LESS:${CMAKE_CXX_STANDARD},20>>:
-Wno-c++20-extensions>>
$<$<CXX_COMPILER_ID:MSVC>:/bigobj /WX /W4 /wd4324 /wd4996>)

if (QUILL_NO_EXCEPTIONS)
Expand Down

0 comments on commit a817595

Please sign in to comment.