Mail Archives: djgpp/2001/12/07/15:45:20
Raf256 wrote:
> this line :
> void addDriver(int n, const char *NAME) {
> modeDriver.add(cDYModeDriver(n,NAME)); }
>
> gives under GCC 3.0.2 :
> d_crt.h(18) Error: friend declaration requires class-key, i.e. `friend
> class cTMPort'
>
> Please help I can't include all file (2000 lines) - what does this error
> mean in general ?
This error means you declared something like:
friend Name_of_one_of_your_classes;
instead of:
friend class Name_of_one_of_your_classes;
I guess your case is
friend cTMPort;
instead of
friend class cTMPort;
SET
--
Salvador Eduardo Tropea (SET). (Electronics Engineer)
Visit my home page: http://welcome.to/SetSoft or
http://www.geocities.com/SiliconValley/Vista/6552/
Alternative e-mail: set AT computer DOT org set AT ieee DOT org
Address: Curapaligue 2124, Caseros, 3 de Febrero
Buenos Aires, (1678), ARGENTINA Phone: +(5411) 4759 0013
- Raw text -