• 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
compile error and other puzzles
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

compile error and other puzzles


  • Subject: compile error and other puzzles
  • From: "James W. Walker" <email@hidden>
  • Date: Mon, 2 May 2005 22:57:40 -0700

I'm getting compile errors in XCode 2.0 that didn't happen in XCode under Panther and don't happen in CodeWarrior under Tiger. The error is on lines like

gluTessCallback(theTess, GLU_TESS_BEGIN_DATA, (GLvoid (*)()) e3tessellate_callback_begin);

and the errors are

error: invalid conversion from 'GLvoid (*)()' to 'GLvoid (*)(...)'
error: initializing argument 3 of 'void gluTessCallback (GLUtesselator*, GLenum, GLvoid (*)(...))'


I don't understand this because in glu.h, gluTessCallback does not have that ellipsis.

Related puzzles:
* There is another file in the project that has seemingly equivalent code but does not generate errors.
* Selecting just the problematic file and choosing Build>Compile produces no errors.
* Selecting any source file and choosing Build>Preprocess does not display any preprocessor output.
_______________________________________________
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
  • Prev by Date: Re: Xcode2 and pblangspec files...
  • Next by Date: Re: Target's header files added to built product's resources?
  • Previous by thread: Re: XCode 2.0 and OCVS Help
  • Next by thread: command line building - I'm pissed at Apple [10.4]
  • Index(es):
    • Date
    • Thread