Explorar el Código

Abort compilation on missing return values (CGG/clang)

bruvzg hace 7 años
padre
commit
5ec09455ed
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      SConstruct

+ 1 - 0
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']