mirror of https://github.com/PCSX2/pcsx2.git
Removing some warnings from GSdx and pcsx2 because gcc 8 spams them mercilessly. They should probably be fixed properly, but in the meantime, this'll prevent them from masking other compiler warnings.
This commit is contained in:
parent
802ae36a66
commit
149f30c7fa
|
@ -18,6 +18,9 @@ set(CommonFlags
|
|||
-Wstrict-aliasing # Allow to track strict aliasing issue.
|
||||
-Wno-char-subscripts # only impact svu which is deprecated
|
||||
-Wno-missing-braces
|
||||
# Largely turning off because LegacyPluginAPI_Common in Plugins.h spams really badly in gcc 8 due to the memzero initialization.
|
||||
# Should probably be fixed properly, but for now this should work.
|
||||
-Wno-class-memaccess
|
||||
#-Wno-ignored-attributes # don't remember why I put here but it is pure C option, therefore it complains for nothings on cpp files
|
||||
-DWX_PRECOMP
|
||||
)
|
||||
|
|
|
@ -14,6 +14,10 @@ set(CommonFlags
|
|||
-Wno-unknown-pragmas
|
||||
-Wno-parentheses
|
||||
-Wunused-variable # __dummy variable need to be investigated
|
||||
# The next two need to be looked at, but spam really badly in gcc 8.
|
||||
# Largely class alignment in GSDevice.h and memcpy in GSVector*.h.
|
||||
-Wno-class-memaccess
|
||||
-Wno-packed-not-aligned
|
||||
)
|
||||
|
||||
if(USE_ICC)
|
||||
|
|
|
@ -15,6 +15,10 @@ set(CommonFlags
|
|||
-Wno-unknown-pragmas
|
||||
-Wno-parentheses
|
||||
-Wunused-variable # __dummy variable need to be investigated
|
||||
# The next two need to be looked at, but spam really badly in gcc 8.
|
||||
# Largely class alignment in GSDevice.h and memcpy in GSVector*.h.
|
||||
-Wno-class-memaccess
|
||||
-Wno-packed-not-aligned
|
||||
)
|
||||
|
||||
set(GSdxFinalFlags ${CommonFlags})
|
||||
|
|
Loading…
Reference in New Issue