Share

Qonk

Tracker: Bugs

5 0.3.1: compilation failure in menumanager.cpp - ID: 1794823
Last Update: Comment added ( thomasklausner )

On NetBSD-4.99.31/amd64 (gcc-4.1.3 20070620 prerelease) and using the patch
from 1794497, I get further in the compilation, but it fails with:
if c++ -DHAVE_CONFIG_H -I. -I. -I.. -I../guichan
-DPKG_DATA_DIR="\"/usr/pkg/share/qonk/\"" -DPNG_NO_ASSEMBLER_CODE
-I/usr/pkg/include -I/usr/pkg/include/freetype2 -I/usr/pkg/include/SDL
-DGLX_GLXEXT_LEGACY -I/usr/include -O2 -I/usr/pkg/include
-I/usr/pkg/include/freetype2 -I/usr/pkg/include/SDL -DGLX_GLXEXT_LEGACY
-I/usr/include -MT menumanager.o -MD -MP -MF ".deps/menumanager.Tpo" -c -o
menumanager.o menumanager.cpp; then mv -f ".deps/menumanager.Tpo"
".deps/menumanager.Po"; else rm -f ".deps/menumanager.Tpo"; exit 1; fi
menumanager.h:70: error: expected class-name before '{' token
menumanager.cpp: In constructor 'MenuManager::MenuManager(Main&)':
menumanager.cpp:28: error: no matching function for call to
'Menu::addAction(const char [5], QuitAction*)'
ui/menu.h:50: note: candidates are: void Menu::addAction(std::string,
MenuAction*)
*** Error code 1


Thomas Klausner ( thomasklausner ) - 2007-09-14 16:04

5

Open

None

Nobody/Anonymous

None

None

Public


Comments ( 2 )




Date: 2007-11-20 01:11
Sender: thomasklausner


The patch from benasselstine works for me, thank you!


Date: 2007-11-19 12:29
Sender: benasselstine


I have submitted a patch to the patch tracker that fixes this problem.


Log in to comment.

Attached File

No Files Currently Attached

Change

No changes have been made to this artifact.