mirror of
https://github.com/jorio/Pomme.git
synced 2025-02-17 07:32:11 +00:00
Compile with -Wstrict-aliasing=2
This commit is contained in:
parent
018ab2d404
commit
0581b24162
@ -148,11 +148,12 @@ if(MSVC)
|
|||||||
)
|
)
|
||||||
else()
|
else()
|
||||||
target_compile_options(${PROJECT_NAME} PRIVATE
|
target_compile_options(${PROJECT_NAME} PRIVATE
|
||||||
|
-fexceptions
|
||||||
-Wall
|
-Wall
|
||||||
-Wextra
|
-Wextra
|
||||||
-Wshadow
|
-Wshadow
|
||||||
-Wno-multichar
|
-Wno-multichar
|
||||||
-Wno-unknown-pragmas
|
-Wno-unknown-pragmas
|
||||||
-fexceptions
|
-Wstrict-aliasing=2
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user