Abort compilation on missing return values (CGG/clang)

This commit is contained in:
bruvzg 2018-02-22 10:00:38 +02:00
parent e349cedb6e
commit 5ec09455ed
No known key found for this signature in database
GPG key ID: 89DD917D9CE4218D

View file

@ -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']