diff options
author | Luboš Luňák <l.lunak@suse.cz> | 2012-07-07 09:23:41 +0200 |
---|---|---|
committer | Luboš Luňák <l.lunak@suse.cz> | 2012-12-10 14:46:49 +0100 |
commit | c55d7ea762ee832c6eac854f2dcc66724e86bea8 (patch) | |
tree | c72d432e674aea31e9435c2ec36cb8699f9dbe7e /solenv/gbuild/platform | |
parent | caa75df6e832382191fa15bcc0a5002c4123cc61 (diff) |
warnings as errors for msvc pch warnings that really shouldn't happen
Change-Id: I53c512fca77b4c9843d23e92811de8f2bd8b5a59
Diffstat (limited to 'solenv/gbuild/platform')
-rw-r--r-- | solenv/gbuild/platform/com_MSC_class.mk | 6 | ||||
-rw-r--r-- | solenv/gbuild/platform/com_MSC_defs.mk | 6 |
2 files changed, 10 insertions, 2 deletions
diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk index 04209f999385..ed08ec31cb19 100644 --- a/solenv/gbuild/platform/com_MSC_class.mk +++ b/solenv/gbuild/platform/com_MSC_class.mk @@ -98,7 +98,8 @@ endef gb_PrecompiledHeader_get_enableflags = -Yu$(1).hxx \ -FI$(1).hxx \ - -Fp$(call gb_PrecompiledHeader_get_target,$(1)) + -Fp$(call gb_PrecompiledHeader_get_target,$(1)) \ + $(gb_PCHWARNINGS) define gb_PrecompiledHeader__command $(call gb_Output_announce,$(2),$(true),PCH,1) @@ -118,7 +119,8 @@ endef gb_NoexPrecompiledHeader_get_enableflags = -Yu$(1).hxx \ -FI$(1).hxx \ - -Fp$(call gb_NoexPrecompiledHeader_get_target,$(1)) + -Fp$(call gb_NoexPrecompiledHeader_get_target,$(1)) \ + $(gb_PCHWARNINGS) define gb_NoexPrecompiledHeader__command $(call gb_Output_announce,$(2),$(true),PCH,1) diff --git a/solenv/gbuild/platform/com_MSC_defs.mk b/solenv/gbuild/platform/com_MSC_defs.mk index b2e6e9e36de8..e8d2f29c81bb 100644 --- a/solenv/gbuild/platform/com_MSC_defs.mk +++ b/solenv/gbuild/platform/com_MSC_defs.mk @@ -220,6 +220,12 @@ ifeq ($(VCVER),100) endif +gb_PCHWARNINGS = \ + -we4650 \ + -we4651 \ + -we4652 \ + -we4653 \ + gb_STDLIBS := \ advapi32.lib \ |