From 059e4d837e7919a9be630b06afbf56924e62a344 Mon Sep 17 00:00:00 2001 From: Damien Zammit Date: Fri, 9 Dec 2016 14:47:31 +1100 Subject: wscript: Compile 'strict' with -DGTK_DISABLE_SINGLE_INCLUDES This throws an error if individual gtk/gdk sub-headers are included. --- wscript | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wscript b/wscript index 0c9b235c13..63a27da96c 100644 --- a/wscript +++ b/wscript @@ -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) -- cgit v1.2.3