Importing class data symbol?
Importing class data symbol?
- Subject: Importing class data symbol?
- From: Tomas Zahradnicky <email@hidden>
- Date: Sat, 17 Dec 2005 17:56:57 +0100
Hello,
I've encountered a problem with Xcode which worked in CodeWarrior.
I'd like to import a symbol which is exported by a framework I link
against. The problem is that that symbol is a static public member of
a class.
I used "#pragma import on" in CodeWarrior and that made symbol U type
but with Xcode linkage I see it still S instead of U. I tried to use
__declspec(dllimport) but gcc ignores this symbol.
What is the proper syntax to import an external static symbol within a class?
I have succeeded using namespace with an extern memory class for that
symbol but what would be the proper way with a class?
Thanks for your thoughts,
Tomas
--
# Ing. Tomas Zahradnicky, Jr.
# The Czech Technical University
# Dept of Computer Science, FEE-CTU Prague
_______________________________________________
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