Skip to content

Commit

Permalink
Fix sh8bench build with gcc-14 (#209)
Browse files Browse the repository at this point in the history
Co-authored-by: Antonin Reitz <[email protected]>
  • Loading branch information
cmovcc and Antonin Reitz authored Jun 21, 2024
1 parent d2d5b4c commit 4c9ba4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bench/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ PREPEND(barnes_sources barnes/ ${barnes_sources})
# turn off warnings..
message(STATUS "${CMAKE_C_COMPILER_ID}")
if(CMAKE_C_COMPILER_ID MATCHES "AppleClang|Clang|GNU")
set(FLAGS " -w -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion")
set(FLAGS " -w -Wno-implicit-function-declaration -Wno-implicit-int -Wno-int-conversion -Wno-return-mismatch -Wno-incompatible-pointer-types")
string(APPEND CMAKE_C_FLAGS ${FLAGS})
string(APPEND CMAKE_CXX_FLAGS ${FLAGS})
endif()
Expand Down

0 comments on commit 4c9ba4f

Please sign in to comment.