Skip to content

Commit

Permalink
CMake: added -Wno-invalid-offsetof clang switch
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent authored and thearperson committed Jan 9, 2024
1 parent c96d0a3 commit 224c1c1
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 @@ -443,7 +443,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
-Wall -Wextra -Wuninitialized -Wconditional-uninitialized -Wextra-tokens -Wpointer-arith -Wloop-analysis -Wunused
# Disable few warnings
-Wno-overloaded-virtual -Wno-incompatible-pointer-types-discards-qualifiers -Wno-unknown-pragmas
-Wno-zero-as-null-pointer-constant -Wno-unused-parameter
-Wno-zero-as-null-pointer-constant -Wno-unused-parameter -Wno-invalid-offsetof
)
target_compile_options(Diligent-BuildSettings INTERFACE "$<$<CONFIG:DEBUG>:${DILIGENT_CLANG_DEBUG_COMPILE_OPTIONS}>")

Expand Down

0 comments on commit 224c1c1

Please sign in to comment.