diff --git a/SConstruct b/SConstruct index d01ccb8597a..1104e92447e 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']