mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-24 00:17:37 +01:00
SERVER-97540 temporarily disable -Wunknown-warning-option (#29496)
GitOrigin-RevId: cbc0ef8de295f0de4c77b82c68048c34ed87b45f
This commit is contained in:
parent
c0b835eece
commit
4b6fbe43da
@ -3946,6 +3946,10 @@ def doConfigure(myenv):
|
||||
myenv.Append(CXXFLAGS=["-Wnon-virtual-dtor"])
|
||||
conf.Finish()
|
||||
|
||||
# TODO(SERVER-97447): Remove this once we're fully on the v5 toolchain. In the meantime, we
|
||||
# need to suppress some warnings that are only recognized by the new compilers.
|
||||
myenv.AddToCXXFLAGSIfSupported("-Wno-unknown-warning-option")
|
||||
|
||||
# As of XCode 9, this flag must be present (it is not enabled
|
||||
# by -Wall), in order to enforce that -mXXX-version-min=YYY
|
||||
# will enforce that you don't use APIs from ZZZ.
|
||||
|
@ -489,6 +489,11 @@ GCC_OR_CLANG_WARNINGS_COPTS = select({
|
||||
# SERVER-76472 we don't try to maintain ABI so disable warnings about
|
||||
# possible ABI issues.
|
||||
"-Wno-psabi",
|
||||
|
||||
# TODO(SERVER-97447): Remove this once we're fully on the v5 toolchain.
|
||||
# In the meantime, we need to suppress some warnings that are only
|
||||
# recognized by the new compilers.
|
||||
"-Wno-unknown-warning-option",
|
||||
],
|
||||
"//conditions:default": [],
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user