diff options
author | 2017-03-14 09:37:46 +0000 | |
---|---|---|
committer | 2017-03-14 19:45:10 +0000 | |
commit | 9416a460b2db365f81c939c1512bb1f887d3cfa5 (patch) | |
tree | 3974ec91105cb1083fa3421a03d2e6c92a8fc4b5 /tools/cpp/wrapper/bin/pydir | |
parent | 2046bb480075a8f412cb51882e64e31324fc57de (diff) |
MSVC wrapper: support -W[no]implicit-function-decl
See https://github.com/bazelbuild/bazel/issues/2672
--
Change-Id: Idfbc1841cc4f448939000e58cc9712ab8daa1a2f
Reviewed-on: https://cr.bazel.build/9353
PiperOrigin-RevId: 150045801
MOS_MIGRATED_REVID=150045801
Diffstat (limited to 'tools/cpp/wrapper/bin/pydir')
-rw-r--r-- | tools/cpp/wrapper/bin/pydir/msvc_cl.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/cpp/wrapper/bin/pydir/msvc_cl.py b/tools/cpp/wrapper/bin/pydir/msvc_cl.py index a2d240c333..716db2207b 100644 --- a/tools/cpp/wrapper/bin/pydir/msvc_cl.py +++ b/tools/cpp/wrapper/bin/pydir/msvc_cl.py @@ -52,7 +52,8 @@ GCCPATTERNS = [ ('-Wno-conversion', ['/wd4244', '/wd4267']), ('-Wno-sign-conversion', []), ('-Wno-implicit-fallthrough', []), - ('-Wno-implicit-function-declaration', []), + ('-Wno-implicit-function-declaration', ['/wd4013']), + ('-Wimplicit-function-declaration', ['/we4013']), ('-Wcovered-switch-default', ['/we4062']), ('-Wno-covered-switch-default', ['/wd4062']), ('-Wno-error', []), |