> I have some code that worked fine in CW 4, but does not compile in CW 6.
> (I went straight from 4 to 6 so I don't know if it works in 5).  Here is
> the snippet in its most reduce form:
> 
> class B;
> class A{
>       friend B;
> .....
> };
> 
> This now produce the following error
> 
> illegal friend declaration
> 

Make that "friend class B;".

-- Paul
______________________________________________________________________
Paul A. Dugas, Computer Engineer        email: [EMAIL PROTECTED]
Dugas Enterprises, LLC                  phone: (404) 932-1355
1711 Indian Ridge Drive                 fax  : (770) 516-4841
Woodstock, GA 30189 USA                 web  : http://pauld.dugas.com/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to