Message242505
Removing "static" breaks GCC on Linux (gcc 4.9.2 on Ubuntu 15.04 x86-64):
./Modules/_sre.c:2780:20: error: static declaration of ‘pattern_methods’ follows non-static declaration
static PyMethodDef pattern_methods[] = {
^
./Modules/_sre.c:1429:13: note: previous declaration of ‘pattern_methods’ was here
PyMethodDef pattern_methods[];
^
IMO MSVS is the one being unreasonable here. But obviously we need to find some way of doing this that makes both compilers happy. |
|
Date |
User |
Action |
Args |
2015-05-03 19:48:58 | larry | set | recipients:
+ larry, ezio.melotti, mrabarnett, python-dev, serhiy.storchaka, steve.dower |
2015-05-03 19:48:58 | larry | set | messageid: <1430682538.7.0.934100503011.issue20148@psf.upfronthosting.co.za> |
2015-05-03 19:48:58 | larry | link | issue20148 messages |
2015-05-03 19:48:58 | larry | create | |
|