1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-06-19 20:29:39 +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')
# 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'])