[HELP]: Name conflicting in dynamically loading shared libraries

2011-03-16 Thread Jovi Zhang
Hi,    I encounter a problem about several .so library linked by a problem, when a library A executing call function which source at same .so, but strangly it jump to another library B address with same function name, then program crash.    Why library A don't find function name in itself address

gcc enumeration print support

2010-11-28 Thread jovi zhang
Hi,    Does gcc compiler support enumeration print support? what I means is like this: typedef struct  {   int  ttype ;   intt  index ; }  unit_it_t ; unit_it_t f_unit; GCC_PRINT(f_unit); Then compiler will print all filed of f_unit data structure automatic, no need to let programmer print f_u