[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: C++ help



On Wed, Sep 29, 1999 at 11:28:19AM +0200, Christian T. Steigies wrote:
> 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);

Educated guess: s/operator+=/FGString& operator+=/

> PS It seems the package is orphaned upstream, should I also orphan it then?

If you are confident you can work without the help from upstream, no.

-- 
%%% Antti-Juhani Kaijanaho % gaia@iki.fi % http://www.iki.fi/gaia/ %%%

                                  ""
                             (John Cage)


Reply to: