Xcode <-> CW Discrepancy
Xcode <-> CW Discrepancy
- Subject: Xcode <-> CW Discrepancy
- From: Tomas Zahradnicky <email@hidden>
- Date: Wed, 20 Jul 2005 08:26:31 +0200
Hi,
I've noticed yesterday that one code compiles very differently with
Xcode and Codewarrior. That is:
struct A {
struct B {
static vector<B*> sSymbol;
};
};
extern vector<B*> A::B::sSymbol;
Codewarrior generates reference to an undefined symbol (correct) (U
type) which resides in a framework while g++ generates static symbol
(S type) and link warning that this symbol exists in my binary and
the framework. I tried forcing it undefined with -u
MANGLED_NAME_FOR_sSymbol but with no luck.
Is this misbehavior a bug?
Cheers,
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