Author: zturner Date: Tue Sep 6 17:14:22 2016 New Revision: 280759 URL: http://llvm.org/viewvc/llvm-project?rev=280759&view=rev Log: Fix tests on Windows.
This wasn't actually a problem with the reformat, but rather a problem with Visual Studio 2015 Update 3, which uses some c++14 features in its standard libraries. So we had to change -std=c++11 to -std=c++14. Modified: lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules Modified: lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules?rev=280759&r1=280758&r2=280759&view=diff ============================================================================== --- lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules (original) +++ lldb/trunk/packages/Python/lldbsuite/test/make/Makefile.rules Tue Sep 6 17:14:22 2016 @@ -216,7 +216,7 @@ ifeq "$(MAKE_GMODULES)" "YES" CFLAGS += -fmodules -gmodules endif -CXXFLAGS += -std=c++11 +CXXFLAGS += -std=c++14 # FIXME: C++ modules aren't supported on all platforms. CXXFLAGS += $(subst -fmodules,, $(CFLAGS)) LD = $(CC) @@ -444,7 +444,7 @@ ifneq "$(filter g++,$(CXX))" "" ifeq "$(CXXVERSION)" "4.6" # GCC 4.6 cannot handle -std=c++11, so replace it with -std=c++0x # instead. FIXME: remove once GCC version is upgraded. - override CXXFLAGS := $(subst -std=c++11,-std=c++0x,$(CXXFLAGS)) + override CXXFLAGS := $(subst -std=c++14,-std=c++0x,$(CXXFLAGS)) endif endif endif _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits