Skip to content

Commit

Permalink
Silence invalid offsetof warning
Browse files Browse the repository at this point in the history
  • Loading branch information
wheremyfoodat authored Oct 19, 2024
1 parent 89d1292 commit c97a174
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if(APPLE)
endif()

if(NOT CMAKE_CXX_COMPILER_ID STREQUAL "MSVC")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format-nonliteral -Wno-format-security")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-format-nonliteral -Wno-format-security -Wno-invalid-offsetof")
endif()

if(CMAKE_CXX_COMPILER_ID STREQUAL "GNU")
Expand Down

0 comments on commit c97a174

Please sign in to comment.