Memory leak after C++ exception

Nickolay Kolchin nbkolchin at gmail.com
Fri Oct 15 10:07:09 UTC 2004


> *** 36,45 ****
>    * These typedefs should match with the ones defined in the file
>    * gcc/gthr-rtems.h in the gcc distribution.
>    */
> - typedef void *__gthread_key_t;
>   typedef int   __gthread_once_t;
>   typedef void *__gthread_mutex_t;
> 

This code will not work with new gcc versions: >3.4.2. libstdc++ won't
compile because it requires __gthread_mutex_t be declared as struct.
__gthread_mutex_t is used in class inheritance.

Nickolay



More information about the users mailing list