scintilla: Don't build with C++11 regex support

It seems to cause some compatibility issues with some current compilers
and we don't use it nor need it for extended regex support, so stay on
the safe side at least for the moment.
This commit is contained in:
Colomban Wendling 2016-05-22 20:16:16 +02:00
parent 934b47158c
commit 04296390de
2 changed files with 4 additions and 2 deletions

View File

@ -3,7 +3,7 @@ SUBDIRS = include
noinst_LTLIBRARIES=libscintilla.la noinst_LTLIBRARIES=libscintilla.la
AM_CXXFLAGS = -DNDEBUG -DGTK -DSCI_LEXER AM_CXXFLAGS = -DNDEBUG -DGTK -DSCI_LEXER -DNO_CXX11_REGEX
LEXER_SRCS= \ LEXER_SRCS= \
lexers/LexAbaqus.cxx \ lexers/LexAbaqus.cxx \

View File

@ -32,7 +32,9 @@ vpath %.h ../src ../include ../lexlib
vpath %.cxx ../src ../lexlib ../lexers vpath %.cxx ../src ../lexlib ../lexers
INCLUDEDIRS=-I ../include -I ../src -I ../lexlib INCLUDEDIRS=-I ../include -I ../src -I ../lexlib
CXXBASEFLAGS=-Wall -Wno-missing-braces -Wno-char-subscripts -DGTK -DSCI_LEXER $(INCLUDEDIRS) \ CXXBASEFLAGS=-Wall -Wno-missing-braces -Wno-char-subscripts \
-DGTK -DSCI_LEXER -DNO_CXX11_REGEX \
$(INCLUDEDIRS) \
-DGEANY_EXPORT_SYMBOL="__declspec(dllexport)" \ -DGEANY_EXPORT_SYMBOL="__declspec(dllexport)" \
-DGEANY_API_SYMBOL=GEANY_EXPORT_SYMBOL -DGEANY_API_SYMBOL=GEANY_EXPORT_SYMBOL