Skip to content

Commit

Permalink
Fix build for non clang
Browse files Browse the repository at this point in the history
Update subprojects
  • Loading branch information
pinguin999 committed Dec 13, 2024
1 parent bf0ee53 commit c949951
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,8 @@ if(MSVC)
# TODO add /WX
else()
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Emscripten")
target_compile_options(pac PRIVATE -std=c++20 -Wall -Wextra -pedantic -Wno-long-long -Wunused -Wnon-virtual-dtor -Wno-align-mismatch -Wpedantic -Werror -Wpointer-arith -Wcast-qual -Wno-missing-braces -Wdangling)
target_compile_options(pac PRIVATE -std=c++20 -Wall -Wextra -pedantic -Wno-long-long -Wunused -Wnon-virtual-dtor -Wno-align-mismatch -Wpedantic -Werror -Wpointer-arith -Wcast-qual -Wno-missing-braces)
# -Wdangling only works with clang
# TODO Add -Wshadow -Wconversion -Wmissing-prototypes
# -std=c++20 -O3 -fsanitize=fuzzer,address,undefined -fPIE
endif()
Expand Down
2 changes: 1 addition & 1 deletion subprojects/spine-runtimes
Submodule spine-runtimes updated 235 files

0 comments on commit c949951

Please sign in to comment.