RE: Forward declaration issue on gcc 3.4.3(New)

2006-01-17 Thread Jian-ping . Hui
Hi, Dave, Thanks a lot for your help. Best Regards Jian-ping -"Dave Korn" <[EMAIL PROTECTED]> wrote: - To: <[EMAIL PROTECTED]>, From: "Dave Korn" <[EMAIL PROTECTED]> Date: 01/17/2006 07:04PM cc: <[EMAIL PROTECTED]> Subject: RE: Forwa

RE: Forward declaration issue on gcc 3.4.3(New)

2006-01-17 Thread Dave Korn
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 f

Forward declaration issue on gcc 3.4.3(New)

2006-01-17 Thread Jian-ping . Hui
Sorry for the previous wrong format mail. Please ignore it. I encountered an issue when building our program. The compilation will fail when using gcc 3.4.3. However, the same program can be compiled successfully with gcc 3.2.3. I used the following example to reproduce the issue: = a.h ===

Forward declaration issue on gcc 3.4.3

2006-01-17 Thread dahui dahui
Hi, I encountered an issue when building our program. The compilation will fail when using gcc 3.4.3. However, the same program can be compiled successfully with gcc 3.2.3. I used the following example to reproduce the issue: = a.h = #ifndef A_H_ #define A_H_ class A { public: