Re: Turning off 'deleting 'VOID*' is undefined' error
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