• 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
Resolving conflicting typedefs uint32
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Behavior when Host and Plugin link to different SDKS? Was: Resolving conflicting typedefs uint32
      • From: Thomas Engelmeier <email@hidden>
    • Re: Resolving conflicting typedefs uint32
      • From: Peter O'Gorman <email@hidden>
  • Prev by Date: Re: Xcode 3.1 problem checking dependencies
  • Next by Date: writting email property to address book
  • Previous by thread: Re: C++ Static library fails to link for some code, relocatable object works fine
  • Next by thread: Re: Resolving conflicting typedefs uint32
  • Index(es):
    • Date
    • Thread