1
0
mirror of https://github.com/TomHarte/CLK.git synced 2025-01-18 23:29:49 +00:00

Enable additional GCC warnings.

This commit is contained in:
Thomas Harte 2022-04-29 11:54:51 -04:00
parent 872b941b20
commit 69c8c118f0

View File

@ -136,7 +136,7 @@ SOURCES += glob.glob('../../Storage/Tape/Formats/*.cpp')
SOURCES += glob.glob('../../Storage/Tape/Parsers/*.cpp') SOURCES += glob.glob('../../Storage/Tape/Parsers/*.cpp')
# Add additional compiler flags; c++1z is insurance in case c++17 isn't fully implemented. # 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. # Add additional libraries to link against.
env.Append(LIBS = ['libz', 'pthread', 'GL']) env.Append(LIBS = ['libz', 'pthread', 'GL'])