diff options
| author | bruvzg | 2018-02-22 10:00:38 +0200 |
|---|---|---|
| committer | Hein-Pieter van Braam | 2018-03-28 22:21:33 +0200 |
| commit | df7d60a9d3c0290cbfb7ee3f512845c21589f71a (patch) | |
| tree | 9e0c67efa92606068e788a450989a612a8b87d9e /SConstruct | |
| parent | fe20a1e35b70d2d754c908dcee174bacaaf938db (diff) | |
| download | godot-df7d60a9d3c0290cbfb7ee3f512845c21589f71a.tar.gz godot-df7d60a9d3c0290cbfb7ee3f512845c21589f71a.tar.zst godot-df7d60a9d3c0290cbfb7ee3f512845c21589f71a.zip | |
Abort compilation on missing return values (CGG/clang)
(cherry picked from commit 5ec09455ed04a8e0c11c97c72833c457c307e1c1)
Diffstat (limited to '')
| -rw-r--r-- | SConstruct | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SConstruct b/SConstruct index d01ccb859..1104e9244 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'] |
