From 6007ca5bf84031f6e353d05907f195ef448769ca Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sat, 19 Mar 2005 06:52:37 +0000 Subject: Initialise all SCNotification structs to {0} ensuring all fields are 0 or NULL. Added options to make files so that this does trigger warnings. --- win32/makefile | 2 +- win32/scintilla.mak | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'win32') diff --git a/win32/makefile b/win32/makefile index 98460fc54..19d208448 100644 --- a/win32/makefile +++ b/win32/makefile @@ -29,7 +29,7 @@ LDFLAGS=-mwindows -lstdc++ -limm32 -lole32 -luuid -mno-cygwin # Add -MMD to get dependencies #CXXFLAGS = -g -pg -pedantic -Os -fno-exceptions -fvtable-thunks -fno-rtti INCLUDEDIRS=-I ../include -I ../src -CXXBASEFLAGS = -W -Wall -pedantic $(INCLUDEDIRS) -Os -fno-exceptions $(THUNKFLAGS) -fno-rtti -mno-cygwin +CXXBASEFLAGS=-Wall -Wno-missing-braces -pedantic $(INCLUDEDIRS) -Os -fno-exceptions $(THUNKFLAGS) -fno-rtti -mno-cygwin ifdef DEBUG CXXFLAGS=-DDEBUG $(CXXBASEFLAGS) diff --git a/win32/scintilla.mak b/win32/scintilla.mak index 0ecfb642c..1fa6ec422 100644 --- a/win32/scintilla.mak +++ b/win32/scintilla.mak @@ -52,7 +52,7 @@ CC=bcc32 RC=brcc32 -r LD=ilink32 -CXXFLAGS=-P -tWM -w -w-prc -w-inl -RT- -x- +CXXFLAGS=-P -tWM -w -w-prc -w-inl -w-pin -RT- -x- # Above turns off warnings for clarfying parentheses and inlines with for not expanded CXXDEBUG=-Od -v -DDEBUG CXXNDEBUG=-O1 -DNDEBUG -- cgit v1.2.3