Disable -Wstringop-overflow warning on MinGW
This commit is contained in:
@@ -41,6 +41,7 @@ macro(compile_flags)
|
|||||||
"$<$<CONFIG:Debug>:-Wa,-mbig-obj>" # Switch to pe-bigobj-x86-64 as x64 Debug builds push pe-x86-64 to the limits (linking errors with ASLR, ...)
|
"$<$<CONFIG:Debug>:-Wa,-mbig-obj>" # Switch to pe-bigobj-x86-64 as x64 Debug builds push pe-x86-64 to the limits (linking errors with ASLR, ...)
|
||||||
)
|
)
|
||||||
endif()
|
endif()
|
||||||
|
add_compile_options(-Wno-stringop-overflow) # This warning false-positives on some MinGW versions so just turn it off
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Prepare a generator that checks if we are not a debug, and don't have asserts
|
# Prepare a generator that checks if we are not a debug, and don't have asserts
|
||||||
|
Reference in New Issue
Block a user