[Lsb-infrastructure] First look at April 18 updates

Denis Silakov silakov at ispras.ru
Mon Apr 21 04:50:06 PDT 2008


Wichmann, Mats D wrote:
> The c++ devchk file fails:
> /opt/lsb/include/c++/cstdio:123: error: '::gets' has not been declared
> /opt/lsb/include/c++/bits/gthr-default.h: In function 'int
> __gthread_key_create(__gthread_key_t*, void (*)(void*))':
> /opt/lsb/include/c++/bits/gthr-default.h:467: error: invalid conversion
> from 'void (*)(void*)' to 'void (*)()'
> /opt/lsb/include/c++/bits/gthr-default.h:467: error:   initializing
> argument 2 of 'int pthread_key_create(pthread_key_t*, void (*)())'
> /opt/lsb/include/c++/cstdlib: At global scope:
> /opt/lsb/include/c++/cstdlib:91: error: '::atexit' has not been declared
>
> I don't know what this is; it however appears in other places too,
> such as the desktop test.
>
>   
<...>
> ===
>
> desktop test (see note under devchk):
>
> C++ trouble (e.g. for Qt):
>
> /opt/lsb/include/c++/cstdlib:91: error: '::atexit' has not been declared
> /opt/lsb/include/c++/cstdio:123: error: '::gets' has not been declared
> /opt/lsb/include/c++/bits/gthr-default.h: In function 'int
> __gthread_key_create(__gthread_key_t*, void (*)(void*))':
> /opt/lsb/include/c++/bits/gthr-default.h:467: error: invalid conversion
> from 'void (*)(void*)' to 'void (*)()'
> /opt/lsb/include/c++/bits/gthr-default.h:467: error:   initializing
> argument 2 of 'int pthread_key_create(pthread_key_t*, void (*)())'
>
>   
Regenerate headers with patched mkheader from bug 2048 (http://bugs.linuxbase.org/show_bug.cgi?id=2048); at least atexti/gets problems should be eliminated.


-- 
Regards,
Denis.



More information about the lsb-infrastructure mailing list