Re: compile error while switching from gcc 3.3 to 4.0
Re: compile error while switching from gcc 3.3 to 4.0
- Subject: Re: compile error while switching from gcc 3.3 to 4.0
- From: Matei Stroila <email@hidden>
- Date: Thu, 8 Sep 2005 20:08:20 -0500
No. I use only "class".
Matei
On Sep 8, 2005, at 7:29 PM, Lawrence Gold wrote:
On Sep 8, 2005, at 1:38 PM, Matei Stroila wrote:
I am trying to compile with gcc 4.0 the same code that did not
have any problems with 3.3 (not even serious warnings).
I get a lot of errors like this:
./Particles/ParticleStuffParameters.h:442: error: invalid use of
undefined type 'struct ParticleStuff'
./Particles/ParticleStuffParameters.h:18: error: forward
declaration of 'struct ParticleStuff'
The code has circular dependencies so it has forward declarations
like:
class ParticleStuff;
Are you by chance using both "struct" and "class" to refer to the
class?
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden