RE: C++ help
Hi,
I think you are requested to give return type of
the function that implements the operator +=
e.g.
void operator+=(const FGString& other);
and no, upstream orphaning is not a requirement
to orphan it in Debian.
t.aa
Christian T. Steigies <cts@debian.org> Wed Sept 29, 1999 12:28 PM
>
> 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?
Reply to: