Author nilsge
Recipients dstufft, eric.araujo, nilsge
Date 2014-04-01.10:42:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1396348933.92.0.0275278232722.issue21121@psf.upfronthosting.co.za>
In-reply-to
Content
I got an error while rebuilding a module for 3.4. This was a ISO C90 error but setup.py explicitely adds "-std=c99" to the gcc parameters, and indeed it is used. 

fifo.h:114:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
uint32_t ofs = fifo->write_count - fifo->write_offset; 

However, Py 3.4 seems to add -Werror=declaration-after-statement also for extension modules. This should not happe (said also Yhg1s in #python).

Attached is a file that shows the setup.py and also the error log.
History
Date User Action Args
2014-04-01 10:42:14nilsgesetrecipients: + nilsge, eric.araujo, dstufft
2014-04-01 10:42:13nilsgesetmessageid: <1396348933.92.0.0275278232722.issue21121@psf.upfronthosting.co.za>
2014-04-01 10:42:13nilsgelinkissue21121 messages
2014-04-01 10:42:13nilsgecreate