mirror of
https://github.com/mongodb/mongo.git
synced 2024-11-30 17:10:48 +01:00
SERVER-15327 disable warnings for unknown pragmas on Windows
This commit is contained in:
parent
986d4a410e
commit
7f9d45b4ec
@ -790,7 +790,9 @@ elif windows:
|
||||
# C++ exception specification ignored except to indicate a function is not __declspec(nothrow
|
||||
# A function is declared using exception specification, which Visual C++ accepts but does not
|
||||
# implement
|
||||
env.Append( CCFLAGS=["/wd4355", "/wd4800", "/wd4267", "/wd4244", "/wd4290"] )
|
||||
# c4068
|
||||
# unknown pragma -- added so that we can specify unknown pragmas for other compilers
|
||||
env.Append( CCFLAGS=["/wd4355", "/wd4800", "/wd4267", "/wd4244", "/wd4290", "/wd4068"] )
|
||||
|
||||
# some warnings we should treat as errors:
|
||||
# c4099
|
||||
|
Loading…
Reference in New Issue
Block a user