This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: PR 12879 regression for gcc 3.4.x?
On Thu, Jul 29, 2004 at 07:51:25AM -0700, H. J. Lu wrote:
> > If I try to compile the testcase in:
> >
> > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12879
> >
> > I get an error, even though this PR states that this is fixed
> > in gcc 3.4. Is this a regression?
>
> Works for me on Linux:
>
> [hjl@gnu-9i tmp]$ /usr/gcc-3.4/bin/gcc -c x.cc
> x.cc:2: error: invalid use of undefined type `struct Exception'
> x.cc:1: error: forward declaration of `struct Exception'
By "Works for me on Linux", I guess you mean that
you are getting the same error message as I am getting in FreeBSD.
So is this a regression?
This error message did not appear in 3.3, and PR 12879 indicates
that this is fixed in gcc 3.4.x
--
Craig Rodrigues
http://crodrigues.org
rodrigc@crodrigues.org