Re: Help in gcc-4.0.x transition issue
Andreas Tille wrote:
> error: 'AWT_canvas' has not been declared
> make: *** [AW_preset.o] Error 1
> make: *** Waiting for unfinished jobs....
> I guess it is a really small problem for people with C++ knowledge and thus
> I hope to get a quick answer here.
The question is whether
friend class AWT_canvas;
is a declaration of class AWT_canvas. People used to think it is, but
(now) think it only declares it as a friend. So you need to add
at the beginning of the header file.
P.S. Disclaimer: the explanation is from memory only, and the solution
is not tested.