Abort compilation on missing return values (CGG/clang)
This commit is contained in:
parent
e349cedb6e
commit
5ec09455ed
|
@ -353,6 +353,7 @@ if selected_platform in platform_list:
|
||||||
env.Append(CCFLAGS=['-Wall', '-Wno-unused'])
|
env.Append(CCFLAGS=['-Wall', '-Wno-unused'])
|
||||||
else: # 'no'
|
else: # 'no'
|
||||||
env.Append(CCFLAGS=['-w'])
|
env.Append(CCFLAGS=['-w'])
|
||||||
|
env.Append(CCFLAGS=['-Werror=return-type'])
|
||||||
|
|
||||||
#env['platform_libsuffix'] = env['LIBSUFFIX']
|
#env['platform_libsuffix'] = env['LIBSUFFIX']
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue