Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(22)

Unified Diff: Lib/sysconfig.py

Issue 18211: -Werror=statement-after-declaration problem
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/distutils/sysconfig.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/sysconfig.py
+++ b/Lib/sysconfig.py
@@ -252,6 +252,8 @@
except ValueError:
# insert literal `$'
done[n] = v.replace('$$', '$')
+ if n == 'BASECFLAGS':
+ done[n] = done[n].replace('-Werror=declaration-after-statement', '')
else:
done[n] = v
« no previous file with comments | « Lib/distutils/sysconfig.py ('k') | no next file » | no next file with comments »

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+