diff options
author | Damien Zammit <damien@zamaudio.com> | 2016-12-09 14:47:31 +1100 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2016-12-09 14:47:31 +1100 |
commit | 059e4d837e7919a9be630b06afbf56924e62a344 (patch) | |
tree | 5b80c8654cec968606216c15cb87a3ae3fe74e11 | |
parent | 78b87a291e2ae71dc136125418ad6b9aa6529acb (diff) |
wscript: Compile 'strict' with -DGTK_DISABLE_SINGLE_INCLUDESgtk3-preparation
This throws an error if individual gtk/gdk sub-headers are included.
-rw-r--r-- | wscript | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -69,7 +69,7 @@ compiler_flags_dictionaries= { # Any additional flags for warnings that are specific to C++ (not C) 'extra-cxx-warnings' : [ '-Woverloaded-virtual', '-Wno-unused-local-typedefs' ], # Flags used for "strict" compilation, C and C++ (i.e. compiler will warn about language issues) - 'strict' : ['-Wall', '-Wcast-align', '-Wextra', '-Wwrite-strings', '-Wunsafe-loop-optimizations', '-Wlogical-op' ], + 'strict' : ['-DGTK_DISABLE_SINGLE_INCLUDES', '-Wall', '-Wcast-align', '-Wextra', '-Wwrite-strings', '-Wunsafe-loop-optimizations', '-Wlogical-op' ], # Flags used for "strict" compilation, C only (i.e. compiler will warn about language issues) 'c-strict' : ['-std=c99', '-pedantic', '-Wshadow'], # Flags used for "strict" compilation, C++ only (i.e. compiler will warn about language issues) |