Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 184423

Summary: games-fps/avp-20070130 build fails with gcc-4.2
Product: Gentoo Linux Reporter: Tristan Heaven (RETIRED) <tristan>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 162167    
Attachments: avp-20070130-gcc42.patch

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