This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
C++ typename lookup bug
- To: egcs-bugs at cynus dot com
- Subject: C++ typename lookup bug
- From: Jody Goldberg <jodyg at cygnus dot com>
- Date: Tue, 11 Aug 1998 23:24:25 -0400
- Reply-To: jodyg at idt dot net
///////////////////////////////////////////////////
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.