diff options
author | Neil <nyamatongwe@gmail.com> | 2013-09-10 13:20:50 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2013-09-10 13:20:50 +1000 |
commit | 790cde271408e20b2ffbbe53670e860582df29e4 (patch) | |
tree | 55e136a10d6d02386052be4413fba580ba820051 | |
parent | 358ba1e32449f09fc706afebca847a996ab5e364 (diff) | |
download | scintilla-mirror-790cde271408e20b2ffbbe53670e860582df29e4.tar.gz |
Drop warning setting -Wno-missing-braces since this has had no effect since gcc 4.2.
-rw-r--r-- | gtk/makefile | 2 | ||||
-rw-r--r-- | include/Platform.h | 1 | ||||
-rw-r--r-- | win32/makefile | 2 |
3 files changed, 2 insertions, 3 deletions
diff --git a/gtk/makefile b/gtk/makefile index 3c2651ed4..0dbe55460 100644 --- a/gtk/makefile +++ b/gtk/makefile @@ -46,7 +46,7 @@ INCLUDEDIRS=-I ../include -I ../src -I ../lexlib ifdef CHECK_DEPRECATED DEPRECATED=-DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DDISABLE_GDK_FONT endif -CXXBASEFLAGS=-Wall -Wno-missing-braces -Wno-char-subscripts -pedantic -DGTK -DSCI_LEXER $(INCLUDEDIRS) $(DEPRECATED) +CXXBASEFLAGS=-Wall -Wno-missing-braces -pedantic -DGTK -DSCI_LEXER $(INCLUDEDIRS) $(DEPRECATED) ifdef NOTHREADS THREADFLAGS=-DG_THREADS_IMPL_NONE diff --git a/include/Platform.h b/include/Platform.h index 311b1c423..f4cbc0538 100644 --- a/include/Platform.h +++ b/include/Platform.h @@ -530,7 +530,6 @@ public: #if defined(__GNUC__) && defined(SCINTILLA_QT) #pragma GCC diagnostic ignored "-Wmissing-braces" #pragma GCC diagnostic ignored "-Wmissing-field-initializers" -#pragma GCC diagnostic ignored "-Wchar-subscripts" #endif #endif diff --git a/win32/makefile b/win32/makefile index 23f253255..159d66fdf 100644 --- a/win32/makefile +++ b/win32/makefile @@ -26,7 +26,7 @@ ifneq "$(shell g++ -c CheckD2D.cxx 2>&1)" "" D2DFLAGS=-DDISABLE_D2D endif -CXXBASEFLAGS=--std=c++0x -Wall -Wno-missing-braces -Wno-char-subscripts -pedantic $(INCLUDEDIRS) -fno-rtti $(D2DFLAGS) +CXXBASEFLAGS=--std=c++0x -Wall -Wno-missing-braces -pedantic $(INCLUDEDIRS) -fno-rtti $(D2DFLAGS) ifdef DEBUG CXXFLAGS=-DDEBUG -g $(CXXBASEFLAGS) |