• 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
Initilizing static C++ class variable problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Initilizing static C++ class variable problem


  • Subject: Initilizing static C++ class variable problem
  • From: Stéphane Letz <email@hidden>
  • Date: Mon, 31 Jan 2005 14:26:19 +0100

Hi,

I'm using an Objective C framework that implement some initializing code in its "load" method. This initializing code indirectly access another C++ framework that uses static C++ class variables. It appears that the static C++ class variables are not initialized properly.

I read in the following page that says "load " is executed before main :
http://www.redhat.com/docs/manuals/enterprise/RHEL-3-Manual/gcc/ objective-c.html


Does it means that the load method must not access external framework? And that they are some restrictions in the kind of code that can be called in the load method ?

Thanks

Stephane Letz

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Initilizing static C++ class variable problem
      • From: "Dan Williams" <email@hidden>
  • Prev by Date: Can't find Interface Descriptor
  • Next by Date: Re: IOATABlockStorage-131.3.2
  • Previous by thread: Re: Can't find Interface Descriptor
  • Next by thread: Re: Initilizing static C++ class variable problem
  • Index(es):
    • Date
    • Thread