This is the mail archive of the gcc@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]
Other format: [Raw text]

Re: PR 12879 regression for gcc 3.4.x?


On Thu, Jul 29, 2004 at 08:22:37AM -0400, Craig Rodrigues wrote:
> Hi,
> 
> I am using this compiler which was recently imported into
> FreeBSD-CURRENT:
> 
> Using built-in specs.
> Configured with: FreeBSD/i386 system compiler
> Thread model: posix
> gcc version 3.4.2 [FreeBSD] 20040728
> 
> 
> 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 --version
gcc (GCC) 3.4.2 20040728 (prerelease)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
 
[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'


H.J.


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