Initilizing static C++ class variable problem
site_archiver@lists.apple.com Delivered-To: Darwin-dev@lists.apple.com Hi, Thanks Stephane Letz _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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 ? This email sent to site_archiver@lists.apple.com
participants (1)
-
Stéphane Letz