• 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: gcc 4.2 generates error that was OK before
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc 4.2 generates error that was OK before


  • Subject: Re: gcc 4.2 generates error that was OK before
  • From: Markian Hlynka <email@hidden>
  • Date: Tue, 22 Sep 2009 13:59:53 -0600


It may be that the compiler is for some reason treating your function declaration as a declaration of a variable with an initialiser and then barfing.



Inunderstand what you're saying, but how does c++ usually determine the difference. I suspect this is part of it ni can't seem to remember the proper syntax for prototypes wihout named vars. And, afai recall, void foo(void) means there is no parameters. Why have you typedeffed the existence of no parameters?


Now I really want to see the answer to this. Oh, and sorry for referring to multiple "you"s in one email!

Markian
_______________________________________________
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


  • Follow-Ups:
    • Re: gcc 4.2 generates error that was OK before
      • From: Alastair Houghton <email@hidden>
References: 
 >gcc 4.2 generates error that was OK before (From: Steve Mills <email@hidden>)
 >Re: gcc 4.2 generates error that was OK before (From: Alastair Houghton <email@hidden>)
 >Re: gcc 4.2 generates error that was OK before (From: Steve Mills <email@hidden>)

  • Prev by Date: Re: gcc 4.2 generates error that was OK before
  • Next by Date: Re: gcc 4.2 generates error that was OK before
  • Previous by thread: Re: gcc 4.2 generates error that was OK before
  • Next by thread: Re: gcc 4.2 generates error that was OK before
  • Index(es):
    • Date
    • Thread