Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 269311 - [PATCH] app-emulation/vice fails to compile with gcc-4.4
Summary: [PATCH] app-emulation/vice fails to compile with gcc-4.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.4
  Show dependency tree
 
Reported: 2009-05-10 21:14 UTC by Martin Väth
Modified: 2009-05-11 16:53 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix compilation with gcc-4.4 (vice-gcc-4.4.patch,218 bytes, patch)
2009-05-10 21:15 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2009-05-10 21:14:57 UTC
Currently no version of vice compiles with gcc-4.4 for a simple reason:
gcc-4.4 no longer allows to use
#elif /* without any test */
instead of
#else
The only file concerned is joy.c. The trivial patch is attached
Comment 1 Martin Väth 2009-05-10 21:15:48 UTC
Created attachment 190872 [details, diff]
Fix compilation with gcc-4.4
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2009-05-11 16:53:09 UTC
Applied and e-mailed just about every e-mail in AUTHORS file..