diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2018-02-22 11:16:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-22 11:16:30 +0100 |
commit | 79a225ac2a2f2353f2f626809b56229397dfe52d (patch) | |
tree | b2472a01a60cc2776480519797a6ab0d3e631cf5 | |
parent | bd01fb5367cce6760c16955f04e245f66536b088 (diff) | |
parent | 5ec09455ed04a8e0c11c97c72833c457c307e1c1 (diff) |
Merge pull request #16914 from bruvzg/missing_return_error
[Build] Abort compilation on missing return values (CGG/clang)
-rw-r--r-- | SConstruct | 1 |
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'] |