Skip to content

Commit

Permalink
Mute warning attention : déréférencement du pointeur type-punned bris…
Browse files Browse the repository at this point in the history
…era les strictes d'aliases due to basisu_miniz.h
  • Loading branch information
fspindle committed Sep 27, 2024
1 parent e20e9c7 commit 0abbc26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ vp_glob_module_copy_data("test/math/data/*.pgm" "modules/core" NO_INSTALL)
vp_glob_module_copy_data("src/image/private/Rubik-Regular.ttf" "data/font")

if(UNIX)
vp_set_source_file_compile_flag(src/tools/file/vpIoTools_npy.cpp -Wno-misleading-indentation)
vp_set_source_file_compile_flag(src/tools/file/vpIoTools_npy.cpp -Wno-misleading-indentation -Wno-strict-aliasing)
else()
vp_set_source_file_compile_flag(src/tools/file/vpIoTools_npy.cpp /wd4333)
endif()

0 comments on commit 0abbc26

Please sign in to comment.