C++ typename lookup bug
Jody Goldberg
jodyg@cygnus.com
Wed Aug 12 05:19:00 GMT 1998
///////////////////////////////////////////////////
struct Outer
{
struct A
{
};
struct B
{
struct Inner : public Outer::A
{
};
};
};
///////////////////////////////////////////////////
z.C:9: no type named `A' in `struct Outer'
z.C:9: confused by earlier errors, bailing out
///////////////////////////////////////////////////
Reading specs from /local/test/lib/gcc-lib/i686-pc-linux-gnu/egcs-2.92.00/specs
gcc version egcs-2.92.00 19980807 (gcc2 ss-980609 experimental)
This code is generated by the Orbix IDL->C++ translator which makes it
unpleasant to manually work around.
More information about the Gcc-bugs
mailing list