Kaydet (Commit) 1ff69ad5 authored tarafından Herbert Dürr's avatar Herbert Dürr Kaydeden (comit) Caolán McNamara

Resolves: #i122767# disallow pre-standard C++ for-scope

(cherry picked from commit 197b1ac3)

Conflicts:
	odk/settings/settings.mk
	solenv/gbuild/platform/windows.mk
	solenv/inc/set_wntx64.mk
	solenv/inc/wntmsci11.mk

Change-Id: I266a0d7672839b4568e76b7223aae15d82cd9a63
üst 0218b0e2
...@@ -107,8 +107,8 @@ endif ...@@ -107,8 +107,8 @@ endif
ifeq "$(DEBUG)" "yes" ifeq "$(DEBUG)" "yes"
OPT_FLAGS=-Zi OPT_FLAGS=-Zi
endif endif
CC_FLAGS_JNI=-c $(LIBO_SDK_DETAIL_CFLAGS_MSVCRT) -Zm500 -Zc:forScope,wchar_t- -wd4251 -wd4275 -wd4290 -wd4675 -wd4786 -wd4800 -Zc:forScope -GR -EHa $(OPT_FLAGS) CC_FLAGS_JNI=-c $(LIBO_SDK_DETAIL_CFLAGS_MSVCRT) -Zm500 -Zc:wchar_t- -wd4251 -wd4275 -wd4290 -wd4675 -wd4786 -wd4800 -GR -EHa $(OPT_FLAGS)
CC_FLAGS=-c $(LIBO_SDK_DETAIL_CFLAGS_MSVCRT) -Zm500 -Zc:forScope,wchar_t- -wd4251 -wd4275 -wd4290 -wd4675 -wd4786 -wd4800 -Zc:forScope -GR -EHa $(OPT_FLAGS) CC_FLAGS=-c $(LIBO_SDK_DETAIL_CFLAGS_MSVCRT) -Zm500 -Zc:wchar_t- -wd4251 -wd4275 -wd4290 -wd4675 -wd4786 -wd4800 -GR -EHa $(OPT_FLAGS)
ifeq "$(CPP_MANIFEST)" "true" ifeq "$(CPP_MANIFEST)" "true"
LINK_MANIFEST=mt -manifest $@.manifest "-outputresource:$@;2" LINK_MANIFEST=mt -manifest $@.manifest "-outputresource:$@;2"
else else
......
...@@ -145,7 +145,7 @@ gb_CFLAGS := \ ...@@ -145,7 +145,7 @@ gb_CFLAGS := \
-wd4626 \ -wd4626 \
-wd4706 \ -wd4706 \
-wd4800 \ -wd4800 \
-Zc:forScope,wchar_t- \ -Zc:wchar_t- \
-Zm500 \ -Zm500 \
gb_CXXFLAGS := \ gb_CXXFLAGS := \
...@@ -175,7 +175,7 @@ gb_CXXFLAGS := \ ...@@ -175,7 +175,7 @@ gb_CXXFLAGS := \
-wd4706 \ -wd4706 \
-wd4800 \ -wd4800 \
-wd4913 \ -wd4913 \
-Zc:forScope,wchar_t- \ -Zc:wchar_t- \
-Zm500 \ -Zm500 \
ifneq ($(MSVC_USE_DEBUG_RUNTIME),) ifneq ($(MSVC_USE_DEBUG_RUNTIME),)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment