From 2ba73fb5102f510c93f69a9a4b34954227eddca6 Mon Sep 17 00:00:00 2001 From: Neil Date: Sun, 29 Dec 2019 10:02:31 +1100 Subject: Move suppression of Clang warning missing-braces from makefile to apply to lexers but not most other files. --- win32/makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'win32/makefile') 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 -- cgit v1.2.3