Dear All
I am using gpc 2.1 version on sun solaris 2.8 .
I have problem with the accesing structures containing real variables.
I observed following things
1) I checked size of structures containing real varibles using sizeof function,I found out that memory allocated is always in multiples of 8,If I use -fpack-struct option it is allocating correctly but I am unable to access the address of my struct variable as it is packed?
2) I am always getting 'signal SIGSEGV, Segmentation fault' error while accessing real variables of my structures.I am suspecting some problem with memory allocation of structures containing real variables.One Interesting thing is, it is not happening with all structures containg real variables but only few.There is no problem with stack overflow.
Please suggest me some way to get rid of this error
Regards Hari
__________________________________ Start your day with Yahoo! - Make it your home page! http://www.yahoo.com/r/hs