Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05420 Compiling Minor N/A Jan 7, 2014, 13:44 Jan 8, 2014, 14:19
Tester Janez View Status Public Platform MAME (Self-compiled)
Assigned To couriersud Resolution Fixed OS Linux
Status [?] Resolved Driver
Version 0.152 Fixed in Version 0.153 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 05420: pong, pongf: Impossible to compile with an old GCC version.
Description It's impossible to compile MAME 0.152 with GCC version 4.1.2
Something goes wrong when it tries to compile pong.c, there are some issues with netlist.h.
Steps To Reproduce
Additional Information The same incorrect behaviour happened when Pong was reintroduced in MAME .146u1, but Federico Schwindt fixed netlist.h in MAME 0.148u4. Now, the incorrect behaviour, happens again.

If you substitute:

src/mame/drivers/pong.c
src/emu/machine/netlist.c
src/emu/machine/netlist.h
src/emu/netlist/*

from the MAME 0.152 source code with the code from MAME 0.151 everything compiles nicely.
Github Commit
Flags
Regression Version
Affected Sets / Systems pong, pongf
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.10151
Tafoid
Administrator
Jan 7, 2014, 14:29
edited on: Jan 7, 2014, 16:42
Not sure how far back we will support GCC. If this is Linux, you might want to post over at the SDLMAME forum:
http://forums.bannister.org/ubbthreads.php?ubb=postlist&Board=8

Be sure to mention what OS you are using and why your GCC cannot be upgraded.

It's likely the same issue as shown here - Which was resolved shortly after release:
http://forums.bannister.org/ubbthreads.php?ubb=showflat&Number=91986#Post91986

Please let us know so this can be resolved.
User avatar
No.10155
Janez
Tester
Jan 8, 2014, 11:49
Thank you Tafoid, It is the very same issue and R. Belmont fixed it in the SVN version.
Now it compiles without problems.