Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

error: conflicting type



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:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.