This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

C++ typename lookup bug


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]