mirror of
https://github.com/jorio/Pomme.git
synced 2024-11-26 13:49:22 +00:00
Compile with -Wstrict-aliasing=2
This commit is contained in:
parent
018ab2d404
commit
0581b24162
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user