diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-12-12 17:48:52 +0100 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-13 13:34:45 +0100 |
commit | b988f64d37f1e46fb5a9449758b379fc01661fa2 (patch) | |
tree | d3832b699b0bcfdb8e56730d19e931abfce4c84f /solenv/gbuild/platform | |
parent | 481bc6cf3d8ab8b7f37c709bbe4e7f83b60ef8ec (diff) |
do not disable msvc warning 4005
And in fact make it an error with PCH, as there's it's very likely
a PCH-specific problem.
History refers to i76713 when introducing this, and that was something
about .NET 2005, so this quite likely no longer applies.
Diffstat (limited to 'solenv/gbuild/platform')
-rw-r--r-- | solenv/gbuild/platform/com_MSC_defs.mk | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk index e8d2f29c81bb..bea9b91db844 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -74,8 +74,6 @@ gb_AFLAGS := /c /Cp # cleaning away from the code, to avoid warnings when building with # gcc or Clang and -Wall -Werror. -# C4005: 'identifier' : macro redefinition - # C4127: conditional expression is constant # C4180: qualifier applied to function type has no meaning; ignored @@ -149,7 +147,6 @@ gb_CFLAGS := \ -MD \ -nologo \ -W4 \ - -wd4005 \ -wd4127 \ -wd4180 \ -wd4189 \ @@ -183,7 +180,6 @@ gb_CXXFLAGS := \ -MD \ -nologo \ -W4 \ - -wd4005 \ -wd4127 \ -wd4180 \ -wd4189 \ @@ -220,11 +216,14 @@ ifeq ($(VCVER),100) endif +# C4005: 'identifier' : macro redefinition + gb_PCHWARNINGS = \ -we4650 \ -we4651 \ -we4652 \ -we4653 \ + -we4005 \ gb_STDLIBS := \ advapi32.lib \ |