summaryrefslogtreecommitdiff
path: root/SConstruct
diff options
context:
space:
mode:
authorbruvzg <7645683+bruvzg@users.noreply.github.com>2018-02-22 10:00:38 +0200
committerbruvzg <7645683+bruvzg@users.noreply.github.com>2018-02-22 11:23:05 +0200
commit5ec09455ed04a8e0c11c97c72833c457c307e1c1 (patch)
tree612eab9f38913589d090f3c8803827ba5440168e /SConstruct
parente349cedb6e59e15b613e75662045a78b5ac0c6c0 (diff)
Abort compilation on missing return values (CGG/clang)
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct1
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct
index 14f576c595..c320513786 100644
--- a/SConstruct
+++ b/SConstruct
@@ -353,6 +353,7 @@ if selected_platform in platform_list:
env.Append(CCFLAGS=['-Wall', '-Wno-unused'])
else: # 'no'
env.Append(CCFLAGS=['-w'])
+ env.Append(CCFLAGS=['-Werror=return-type'])
#env['platform_libsuffix'] = env['LIBSUFFIX']