Skip to content

Commit

Permalink
ignore warnings about null pointer arithmetic
Browse files Browse the repository at this point in the history
  • Loading branch information
christianrauch authored and christian-rauch committed Feb 17, 2025
1 parent ff944f6 commit 3bf1b6a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ if(CMAKE_COMPILER_IS_GNUCC OR CMAKE_C_COMPILER_ID MATCHES "Clang")
# add_compile_options(-Wpedantic)
# ignore "parentheses" warning for custom "picojson" fork
add_compile_options(-Wno-parentheses)
add_compile_options(-Wno-null-pointer-arithmetic)
add_compile_options(-Wno-null-pointer-subtraction)
endif()

#######################################################
Expand Down

0 comments on commit 3bf1b6a

Please sign in to comment.