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

Has there been some change in the C++ standard so this is no longer legal?
Or was this never legal but CW 4 took it?

Oliver


-- 
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