mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-05 10:40:42 +00:00
Test clang version for depr-copy
This commit is contained in:
parent
a9e135fa88
commit
2fa6b95ce2
@ -546,9 +546,11 @@ gcc:!clang {
|
|||||||
|
|
||||||
clang {
|
clang {
|
||||||
message("Building for $$QMAKE_HOST.os")
|
message("Building for $$QMAKE_HOST.os")
|
||||||
QMAKE_CFLAGS_WARN_ON += -Wno-error=deprecated-copy
|
greaterThan(COMPILER_MAJOR, 9) : {
|
||||||
QMAKE_CXXFLAGS_WARN_ON += -Wno-error=deprecated-copy
|
QMAKE_CFLAGS_WARN_ON += -Wno-error=deprecated-copy
|
||||||
message("Making deprecated-copy a non-error")
|
QMAKE_CXXFLAGS_WARN_ON += -Wno-error=deprecated-copy
|
||||||
|
message("Making deprecated-copy a non-error")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# Make deprecation warnings just warnings
|
# Make deprecation warnings just warnings
|
||||||
|
Loading…
Reference in New Issue
Block a user