mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
add no-error=strict-aliasing for old compilers
This commit is contained in:
parent
34c545bb48
commit
58a7f3f13d
@ -488,7 +488,10 @@ QMAKE_CXXFLAGS += -Werror
|
||||
# Make deprecation warnings just warnings
|
||||
QMAKE_CFLAGS += -Wno-error=deprecated-declarations
|
||||
QMAKE_CXXFLAGS += -Wno-error=deprecated-declarations
|
||||
|
||||
lessThan(QT_MAJOR_VERSION,5)|lessThan(QT_MINOR_VERSION,9) {
|
||||
QMAKE_CFLAGS += -Wno-error=strict-aliasing
|
||||
QMAKE_CXXFLAGS += -Wno-error=strict-aliasing
|
||||
}
|
||||
|
||||
# Create a debug GUI build by adding "CONFIG+=memdebug" to your qmake command
|
||||
memdebug {
|
||||
|
Loading…
Reference in New Issue
Block a user