Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 184423 - games-fps/avp-20070130 build fails with gcc-4.2
Summary: games-fps/avp-20070130 build fails with gcc-4.2
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.2
  Show dependency tree
 
Reported: 2007-07-06 15:55 UTC by Tristan Heaven (RETIRED)
Modified: 2007-09-07 18:40 UTC (History)
1 user (show)

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


Attachments
avp-20070130-gcc42.patch (avp-20070130-gcc42.patch,632 bytes, patch)
2007-09-06 19:43 UTC, Tupone Alfredo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tristan Heaven (RETIRED) gentoo-dev 2007-07-06 15:55:23 UTC
not sure how to fix this one


avp/davehook.cpp: In static member function 'static void ConsoleCommand::CreateAll()':
avp/davehook.cpp:200: error: no matching function for call to 'ConsoleCommand::Make(const char [8], const char [26], void ()())'
avp/win95/gadgets/conscmnd.hpp:41: note: candidates are: static void ConsoleCommand::Make(ProjChar*, ProjChar*, void (&)(), OurBool)
avp/win95/gadgets/conscmnd.hpp:48: note:                 static void ConsoleCommand::Make(ProjChar*, ProjChar*, void (&)(int), OurBool)
avp/win95/gadgets/conscmnd.hpp:55: note:                 static void ConsoleCommand::Make(ProjChar*, ProjChar*, int (&)(), OurBool)
avp/win95/gadgets/conscmnd.hpp:62: note:                 static void ConsoleCommand::Make(ProjChar*, ProjChar*, int (&)(int), OurBool)
avp/win95/gadgets/conscmnd.hpp:69: note:                 static void ConsoleCommand::Make(ProjChar*, ProjChar*, void (&)(char*), OurBool)
Comment 1 Tupone Alfredo gentoo-dev 2007-09-06 19:43:27 UTC
Created attachment 130212 [details, diff]
avp-20070130-gcc42.patch

This patch fixes the compilation on gcc-4.2
I can actually build ... on amd64 where I have installed gcc-4.2
Can't run the game as I don't own it.
Please test and report
Comment 2 Tristan Heaven (RETIRED) gentoo-dev 2007-09-07 14:46:23 UTC
Seems okay.
Comment 3 Tupone Alfredo gentoo-dev 2007-09-07 18:40:18 UTC
Patch is now in portage. Thanks for report and test