Global and Static Variable initialisation Problem on MAC-OSX 10.3.3 & GCC 3.3 ........
Global and Static Variable initialisation Problem on MAC-OSX 10.3.3 & GCC 3.3 ........
- Subject: Global and Static Variable initialisation Problem on MAC-OSX 10.3.3 & GCC 3.3 ........
- From: Gaurav Kumar <email@hidden>
- Date: 06 Feb 2006 19:28:55 +0530
- Organization:
hi all
I am using GCC 3.3 for compiling my process on MAC-OS X 10.3.3.
I am constructing a global static variable i.e object of a class in
another class file. I have included that class header. The error is
Abort Trap after the object construction. Anywhere in my project if i
make global object of that class, the execution don't go beyond that.
That class object depends upon some other global variables. If we
explicitly initialize those variables then also it throws error.
The global variable calls its constructor properly.
But the pointer of the global variable works when we initialize it in
main i.e Local pointer.
Can you suggest what is real problem in initializing global variable or
the in which i should proceed to solve the bug.
if you require any more information do mail me.
Thanks
Gaurav
_______________________________________________
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