aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32/makefile
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2016-03-07 09:54:27 +1100
committerNeil <nyamatongwe@gmail.com>2016-03-07 09:54:27 +1100
commit82dbb7dfa46217f4b252717478d0486212e2e3e7 (patch)
treea30ba3b5b31293d5081ee1e159a7d233640fd7a4 /win32/makefile
parentea1cce031d89c714c5dde855fd804bea2ef5ce05 (diff)
downloadscintilla-mirror-82dbb7dfa46217f4b252717478d0486212e2e3e7.tar.gz
To avoid failures with MinGW 4.9 switch language standard from c++0x to gnu++0x.
MinGW 4.9 doesn't install a copy of gcc as cc.exe so explicitly set CC=gcc.
Diffstat (limited to 'win32/makefile')
-rw-r--r--win32/makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/makefile b/win32/makefile
index 668812553..05d6f8f70 100644
--- a/win32/makefile
+++ b/win32/makefile
@@ -31,7 +31,7 @@ ifneq "$(shell g++ -c CheckD2D.cxx 2>&1)" ""
D2DFLAGS=-DDISABLE_D2D
endif
-CXXBASEFLAGS=--std=c++0x -Wall -pedantic $(INCLUDEDIRS) $(D2DFLAGS)
+CXXBASEFLAGS=--std=gnu++0x -Wall -pedantic $(INCLUDEDIRS) $(D2DFLAGS)
ifdef CXX11_REGEX
REFLAGS=-DCXX11_REGEX