• 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
Xcode <-> CW Discrepancy
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Xcode <-> CW Discrepancy
      • From: Sailesh Agrawal <email@hidden>
  • Prev by Date: Re: (no subject)
  • Next by Date: Re: Xcode <-> CW Discrepancy
  • Previous by thread: Re: (no subject)
  • Next by thread: Re: Xcode <-> CW Discrepancy
  • Index(es):
    • Date
    • Thread