• 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
error: conflicting type
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: conflicting type


  • Subject: error: conflicting type
  • From: "sujeeshlal" <email@hidden>
  • Date: Tue, 28 Jun 2005 17:46:52 +0530

Hi experts,
 I am newable in Mac Os.  I have tried to port my Linux application to MAC using XCode. In my project
I used some Xlib functions . But when I tried to include
 
#include <ApplicationServices/ApplicationServices.h>
#include <Carbon/Carbon.h>
 
to my existing  file which also contains
#include <X11/Xlib.h>
 
it shows some errors like
 
error:conflicting type for 'struct Cursor'
error: previous declaration as 'typedef XID Cursor'
 
.
How can I rectify this error.. Is that not possible to include Xlib.h and ApplicationServices.h at same time. I need both of this file.
 
Pls help
 
regards
suje
 
 
 
 _______________________________________________
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: error: conflicting type
      • From: Mark Bessey <email@hidden>
    • Re: error: conflicting type
      • From: Cameron Hayne <email@hidden>
  • Prev by Date: Re: What ends up in the "Bundle Resources" group
  • Next by Date: Don't understand this compiler warning
  • Previous by thread: RE: compilter bug nighmare?
  • Next by thread: Re: error: conflicting type
  • Index(es):
    • Date
    • Thread