diff --git a/SConstruct b/SConstruct index 14f576c5954..c3205137864 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']