mirror of https://github.com/jorio/Pomme.git
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