At 06:20 PM 2/6/00 -0800, you wrote:
>
>class MyClass
>{
>public:
>    MyClass (void) { gObjectPtr = this; }
>
>    static MyClass* gObjectPtr;
>};
>
>MyClass* MyClass::gObjectPtr;
>MyClass gObject;

This sort of messing about is one of the things that makes large C++
projects difficult to debug.  I hope your linker has fits. (and anyways, a
wouldn't a good linker realize that the implicit global "MyClass" has a
reference?  Static members have special rules, no?)


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to