Merge pull request #16914 from bruvzg/missing_return_error
[Build] Abort compilation on missing return values (CGG/clang)
This commit is contained in:
commit
79a225ac2a
|
@ -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']
|
||||
|
||||
|
|
Loading…
Reference in New Issue