#66256 closed defect (fixed)
py-pygit2 does not build with gcc-4.2: error: ‘for’ loop initial declaration used outside C99 mode
Reported by: | barracuda156 | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.0 |
Keywords: | leopard, snowleopard | Cc: | |
Port: | py-pygit2 |
Description
src/odb.c: In function ‘Odb_backends__get__’: src/odb.c:322: error: ‘for’ loop initial declaration used outside C99 mode
Attachments (1)
Change History (6)
comment:1 Changed 2 years ago by barracuda156
- S. Also perhaps the port should be updated to current version.
Changed 21 months ago by barracuda156
Attachment: | pygit2_log.txt added |
---|
comment:3 Changed 19 months ago by barracuda156
Should I make a PR to blacklist old GCC? It has been 5 months, and it is still as broken as it was :)
comment:4 Changed 19 months ago by barracuda156
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 Changed 19 months ago by jmroot (Joshua Root)
It would work with very old gccs as long -std=c99
is used.
Note: See
TracTickets for help on using
tickets.