This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: Forward declaration issue on gcc 3.4.3(New)
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <Jian-ping dot Hui at sybase dot com>, <gcc at gcc dot gnu dot org>
- Cc: <gcc-help at gcc dot gnu dot org>
- Date: Tue, 17 Jan 2006 11:04:01 -0000
- Subject: RE: Forward declaration issue on gcc 3.4.3(New)
Jian-ping.Hui wrote:
> Now my question is: Why there are such difference between the two version
> gcc?
This is a VFAQ. See http://gcc.gnu.org/gcc-3.4/changes.html#cplusplus
> Could I compile b.cpp by simply changing some compiler options?
No, you will have to fix the invalid code to be fully compliant with the C++
language standard.
cheers,
DaveK
--
Can't think of a witty .sigline today....