mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Abort compilation on missing return values (CGG/clang)
(cherry picked from commit 5ec09455ed)
This commit is contained in:
committed by
Hein-Pieter van Braam
parent
fe20a1e35b
commit
df7d60a9d3
@@ -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']
|
||||
|
||||
|
||||
Reference in New Issue
Block a user