• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: compile error while switching from gcc 3.3 to 4.0
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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: "Corey O'Connor" <email@hidden>
  • Date: Thu, 8 Sep 2005 17:32:40 -0700

Is your forward declaration:

class ParticleStuff;

but the actual declaration:

struct ParticleStuff
{
    // Stuff
};

?

-Corey
On 9/8/05, Matei Stroila <email@hidden> 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;
>
>
> I searched the internet a lot for a hint, but could not get one.
> I use Xcode 2.1
>
> Thanks for help,
>
> Matei
>
>  _______________________________________________
> 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
>
>


--
-Corey O'Connor
 _______________________________________________
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

References: 
 >compile error while switching from gcc 3.3 to 4.0 (From: Matei Stroila <email@hidden>)

  • Prev by Date: Re: compile error while switching from gcc 3.3 to 4.0
  • Next by Date: Re: Xcode Ignoring breakpoints!
  • Previous by thread: Re: compile error while switching from gcc 3.3 to 4.0
  • Next by thread: Re: Perforce and XCode 2.x not showing revision history ?
  • Index(es):
    • Date
    • Thread