Resolving conflicting typedefs uint32
Resolving conflicting typedefs uint32
- Subject: Resolving conflicting typedefs uint32
- From: email@hidden
- Date: Tue, 15 Jul 2008 06:11:54 +0000
Hi
I'm trying to convert a Quark XTension from Tiger to Leopard but am getting a conflicting typedef error for uint32
/Volumes/PageManager Dev/PageManager XT/../XTHeaders/XP_XTplatE7.h:244: error: conflicting declaration 'typedef long unsigned int uint32'
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h:64: error: 'uint32' has a previous declaration as 'typedef uint32_t uint32'
In the Quark SDK uint32 is defined as
typedef unsigned long uint32;
While in the Apple security framework it is defined as
#ifndef _UINT32
typedef uint32_t uint32;
#define _UINT32
I tried doing an #undef uint32 in the prefix file (which worked for several macro conflicts) but it doesn't seem to work on the uint32 typedef. Is there any way I can resolve this without hacking the Quark header file and possibly wreaking havoc on the library calls?
Thanks for any help.
_______________________________________________
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