##// END OF EJS Templates
setup: relax -Werror for declaration-after-statement on Python 3.9...
Augie Fackler -
r45096:960770ad default
parent child Browse files
Show More
@@ -1270,8 +1270,9 b" common_include_dirs = ['mercurial']"
1270
1270
1271 common_cflags = []
1271 common_cflags = []
1272
1272
1273 # MSVC 2008 still needs declarations at the top of the scope.
1273 # MSVC 2008 still needs declarations at the top of the scope, but Python 3.9
1274 if os.name != 'nt':
1274 # makes declarations not at the top of a scope in the headers.
1275 if os.name != 'nt' and sys.version_info[1] < 9:
1275 common_cflags = ['-Werror=declaration-after-statement']
1276 common_cflags = ['-Werror=declaration-after-statement']
1276
1277
1277 osutil_cflags = []
1278 osutil_cflags = []
General Comments 0
You need to be logged in to leave comments. Login now