C++ help
Hi,
I was trying to update ftpgrab to standards version 3.0.0.
As we are now also using gcc 2.95 (at least "now" on m68k), I ran into a
problem when building the package:
cts@aahz:~/package/ftpgrab/ftpgrab-0.1.0>make
g++ -c main.cc
In file included from main.cc:2:
fgstring.h:34: ANSI C++ forbids declaration `operator +=' with no type
fgstring.h:35: ANSI C++ forbids declaration `operator +=' with no type
make: *** [main.o] Error 1
The relevant lines are here:
// Concatenation
operator+=(const FGString& other);
operator+=(char other);
Anybody got a hint for me how to fix that, Im not so familiar with c++.
PS It seems the package is orphaned upstream, should I also orphan it then?
Thanks,
Christian.
Reply to: