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

Unified Diff: Lib/distutils/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 | « no previous file | Lib/sysconfig.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/distutils/sysconfig.py
+++ b/Lib/distutils/sysconfig.py
@@ -329,6 +329,9 @@
except ValueError:
# insert literal `$'
done[n] = v.replace('$$', '$')
+ if n == 'BASECFLAGS' and not python_build:
+ print("BASECFLAGS", python_build)
+ done[n] = done[n].replace('-Werror=declaration-after-statement', '')
else:
done[n] = v
« no previous file with comments | « no previous file | Lib/sysconfig.py » ('j') | no next file with comments »

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