This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients ezio.melotti, larry, mrabarnett, python-dev, serhiy.storchaka, steve.dower
Date 2015-05-03.19:48:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430682538.7.0.934100503011.issue20148@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2015-05-03 19:48:58larrysetrecipients: + larry, ezio.melotti, mrabarnett, python-dev, serhiy.storchaka, steve.dower
2015-05-03 19:48:58larrysetmessageid: <1430682538.7.0.934100503011.issue20148@psf.upfronthosting.co.za>
2015-05-03 19:48:58larrylinkissue20148 messages
2015-05-03 19:48:58larrycreate