Skip to content

Commit

Permalink
Suppress CI error due to GCC bug
Browse files Browse the repository at this point in the history
  • Loading branch information
victorreijgwart committed Sep 5, 2024
1 parent cd27142 commit fd96924
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion examples/cpp/queries/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ target_link_libraries(trilinear_interpolation PUBLIC wavemap::wavemap_core)
add_executable(classification classification.cc)
set_wavemap_target_properties(classification)
target_link_libraries(classification PUBLIC wavemap::wavemap_core)
target_compile_options(classification PRIVATE -Wno-suggest-attribute=const)
3 changes: 1 addition & 2 deletions library/cpp/cmake/wavemap-extras.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,7 @@ function(set_wavemap_target_properties target)
set_target_properties(${target} PROPERTIES POSITION_INDEPENDENT_CODE ON)
target_compile_options(${target} PUBLIC -march=native)
target_compile_options(${target} PRIVATE
-Wall -Wextra -Wpedantic -Wsuggest-attribute=const
-Wno-deprecated-copy -Wno-class-memaccess)
-Wall -Wextra -Wpedantic -Wno-deprecated-copy -Wno-class-memaccess)

# General C++ defines
target_compile_definitions(${target} PUBLIC EIGEN_INITIALIZE_MATRICES_BY_NAN)
Expand Down

0 comments on commit fd96924

Please sign in to comment.