Add -pedantic-errors compilation flag
This commit is contained in:
parent
cd86ef4236
commit
e60cea3a54
1 changed files with 3 additions and 1 deletions
|
@ -6,7 +6,9 @@ option(DYNARMIC_USE_SYSTEM_BOOST "Use the system boost libraries" ON)
|
|||
|
||||
# Compiler flags
|
||||
if (NOT MSVC)
|
||||
add_compile_options(--std=c++14 -Wall -Werror -Wextra -pedantic -Wfatal-errors -Wno-unused-parameter -Wno-missing-braces)
|
||||
add_compile_options(--std=c++14)
|
||||
add_compile_options(-Wall -Werror -Wextra -pedantic -pedantic-errors -Wfatal-errors
|
||||
-Wno-unused-parameter -Wno-missing-braces)
|
||||
add_compile_options(-DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_POOL_NO_MT)
|
||||
if (ARCHITECTURE_x86_64)
|
||||
add_compile_options(-msse4.1)
|
||||
|
|
Loading…
Reference in a new issue