• 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: Turning off 'deleting 'VOID*' is undefined' error
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Turning off 'deleting 'VOID*' is undefined' error


  • Subject: Re: Turning off 'deleting 'VOID*' is undefined' error
  • From: John Daniel <email@hidden>
  • Date: Tue, 30 Jan 2007 20:16:14 -0600

Mike,
Inspect the code on the Windows side. Windows uses #define macros, lots of them. You may have to preprocess the file to see what the struct looks like when done. But I suspect the type isn't void on Windows. Visual Studio wouldn't like that any more than GCC does. I think there is some #define macro that is assigning void to the type for MacOS X, while Windows gets a real type. See if you can track down the real type and find out what it is on Windows vs. MacOS X. Whatever is being done to port the code from Windows probably needs some work.


John

On Jan 29, 2007, at 12:56 AM, Mike wrote:

Porting a bunch of Windows C++ (which I didn't write) to Xcode.

Apparently a void* is being used as a field of a struct which holds a ptr to an object and the actual object type (class) can vary.

Mike
_______________________________________________
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: Turning off 'deleting 'VOID*' is undefined' error
      • From: Thomas Engelmeier <email@hidden>
References: 
 >Turning off 'deleting 'VOID*' is undefined' error (From: Mike <email@hidden>)
 >Re: Turning off 'deleting 'VOID*' is undefined' error (From: Chris Espinosa <email@hidden>)
 >Re: Turning off 'deleting 'VOID*' is undefined' error (From: Mike <email@hidden>)

  • Prev by Date: Re: Unable to delete/remove build targets
  • Next by Date: Re: Modified date on dependencies
  • Previous by thread: Re: Turning off 'deleting 'VOID*' is undefined' error
  • Next by thread: Re: Turning off 'deleting 'VOID*' is undefined' error
  • Index(es):
    • Date
    • Thread