aboutsummaryrefslogtreecommitdiffhomepage
path: root/win32
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2019-12-29 10:02:31 +1100
committerNeil <nyamatongwe@gmail.com>2019-12-29 10:02:31 +1100
commit2ba73fb5102f510c93f69a9a4b34954227eddca6 (patch)
tree860904fbb0ca4ecd1a2bf6a61e29fe51cdac4bd7 /win32
parent6c254c94360737545f2817740c87569e22cac0b1 (diff)
downloadscintilla-mirror-2ba73fb5102f510c93f69a9a4b34954227eddca6.tar.gz
Move suppression of Clang warning missing-braces from makefile to apply to
lexers but not most other files.
Diffstat (limited to 'win32')
-rw-r--r--win32/makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/win32/makefile b/win32/makefile
index e708549e0..cd02f9dcf 100644
--- a/win32/makefile
+++ b/win32/makefile
@@ -15,8 +15,6 @@ LIBSCI = $(DIR_BIN)/libscintilla.a
ifdef CLANG
CXX = clang++
-# Clang doesn't like omitting braces in array initialization but they just add noise,
-CLANG_OPTS = -Wno-missing-braces
else
# MinGW GCC
LIBSMINGW = -lstdc++
@@ -41,7 +39,7 @@ LIBS=-lgdi32 -luser32 -limm32 -lole32 -luuid -loleaut32 -lmsimg32 $(LIBSMINGW)
# Add -MMD to get dependencies
INCLUDEDIRS=-I ../include -I ../src -I../lexlib
-CXXBASEFLAGS=--std=$(CXXSTD) -Wall -pedantic $(INCLUDEDIRS) -D_CRT_SECURE_NO_DEPRECATE=1 $(CLANG_OPTS)
+CXXBASEFLAGS=--std=$(CXXSTD) -Wall -pedantic $(INCLUDEDIRS) -D_CRT_SECURE_NO_DEPRECATE=1
ifdef NO_CXX11_REGEX
REFLAGS=-DNO_CXX11_REGEX