Sorry I forgot one part (inserted below).
Hartwig
> Assume I have the following class definition:
>
[quoted text clipped - 9 lines]
> };
> };
int main(void)
{
Test::LocalClass Variable;
return 0;
}
> CW 9 does not complain.
> GNU 3.x complains that "LocalClass" is private.
>
> Who is right?
>
> Hartwig
MW Ron - 18 Dec 2004 16:47 GMT
>Sorry I forgot one part (inserted below).
>
[quoted text clipped - 24 lines]
>>
>> Who is right?
CW 9.3 gives
Error : illegal access from 'Test' to protected/private member
'Test::LocalClass'
main.cpp line 18 Test::LocalClass Variable;
Ron

Signature
Metrowerks Community Forum is a free online resource for developers
to discuss CodeWarrior topics with other users and Metrowerks' staff
-- http://www.metrowerks.com/community --
Ron Liechty - MWRon@metrowerks.com - http://www.metrowerks.com