Compile with -Wstrict-aliasing=2

This commit is contained in:
Iliyas Jorio 2022-02-27 19:49:23 +01:00
parent 018ab2d404
commit 0581b24162

View File

@ -148,11 +148,12 @@ if(MSVC)
)
else()
target_compile_options(${PROJECT_NAME} PRIVATE
-fexceptions
-Wall
-Wextra
-Wshadow
-Wno-multichar
-Wno-unknown-pragmas
-fexceptions
-Wstrict-aliasing=2
)
endif()