Menu

#1 compile under RedHat 8.0

open
nobody
None
5
2003-03-27
2003-03-27
Anonymous
No

Hi,
Cool project. just wanted to report that while trying
to compile with the package as-is from the site on
RedHat 8.0 (with kde 3.1.1, not that it matters) the
compiler reports an error :
g++ -c -pipe -Wall -W -g -I/usr/lib/qt-3.1/include -o
obj/playerlist.o playerlist.cpp
playerlist.cpp:208: default argument given for
parameter 1 of `static
PlayerList* PlayerList::instance(Othello* = 0,
QWidget* = 0, const char* =
0)'
playerlist.hpp:43: after previous specification in
`static PlayerList*
PlayerList::instance(Othello* = 0, QWidget* = 0,
const char* = 0)'
playerlist.cpp:208: default argument given for
parameter 2 of `static
PlayerList* PlayerList::instance(Othello* = 0,
QWidget* = 0, const char* =
0)'
playerlist.hpp:43: after previous specification in
`static PlayerList*
PlayerList::instance(Othello* = 0, QWidget* = 0,
const char* = 0)'
playerlist.cpp:208: default argument given for
parameter 3 of `static
PlayerList* PlayerList::instance(Othello* = 0,
QWidget* = 0, const char* =
0)'
playerlist.hpp:43: after previous specification in
`static PlayerList*
PlayerList::instance(Othello* = 0, QWidget* = 0,
const char* = 0)'
make: *** [obj/playerlist.o] Error 1

I solved it by removing the defaults in the cpp file.

shul

Discussion


Log in to post a comment.

MongoDB Logo MongoDB