From 69c8c118f0d07faa7eb147a001a6543037d859fa Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 29 Apr 2022 11:54:51 -0400 Subject: [PATCH] Enable additional GCC warnings. --- OSBindings/SDL/SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OSBindings/SDL/SConstruct b/OSBindings/SDL/SConstruct index 3c46930cd..7d5ee62df 100644 --- a/OSBindings/SDL/SConstruct +++ b/OSBindings/SDL/SConstruct @@ -136,7 +136,7 @@ SOURCES += glob.glob('../../Storage/Tape/Formats/*.cpp') SOURCES += glob.glob('../../Storage/Tape/Parsers/*.cpp') # Add additional compiler flags; c++1z is insurance in case c++17 isn't fully implemented. -env.Append(CCFLAGS = ['--std=c++17', '--std=c++1z', '-Wall', '-O2', '-DNDEBUG']) +env.Append(CCFLAGS = ['--std=c++17', '--std=c++1z', '-Wall', '-Wextra', '-pedantic', '-O2', '-DNDEBUG']) # Add additional libraries to link against. env.Append(LIBS = ['libz', 'pthread', 'GL'])