Hi all,
I am attempting to compile the following code on CW:
class B
{
public:
B(int i) {}
};
class A
{
static B b;
};
B A::b(1);
and the linker replies with:
"Link Error: StartupCode.c: Entry Point '__InitCode__' is undefined."
Now, if I make the static member an int, everything's fine. Is this a
compiler/linker setting or is there a fundamental restriction that I'm not
aware of?
Any help would be appreciated
Cheers, Trent.
______________________________________________
FREE Personalized Email at Mail.com
Sign up at http://www.mail.com/?sr=signup
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html