Commit f9d757c
committed
Correct the removal of -Wstrict-prototypes from compiler flags.
Trying to remove the invalid flag in run() was too early (.compiler is
still None at that point so we would just always get a (silenced)
AttributeError -- catching the AttributeError is necessary to make
things work on Windows). Indeed, the Py3.5 build currently displays a
lot of warnings about -Wstrict-prototypes. Doing the removal in
build_extensions() instead works.
This went unnoticed because the upstream issue in distutils
(https://bugs.python.org/issue5755) was recently fixed in Py3.6.6 and
3.7.0; but this still affects Py3.5 and Py3.6.{0-5}.1 parent 10ffa53 commit f9d757c
1 file changed
Lines changed: 4 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | | - | |
111 | | - | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
112 | 113 | | |
113 | 114 | | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
118 | | - | |
| 119 | + | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
| |||
0 commit comments