Opened 14 years ago

Last modified 14 years ago

#990 closed Enhancement

Warnings when compiling for OpenSUSE — at Version 1

Reported by: saigkill Owned by:
Priority: Minor Milestone: Undetermined
Component: Client - Daemon Version: 6.10.56
Keywords: Cc:

Description (last modified by Nicolas)

Hello Mates, i´m compiling for openSUSE. ATM i´m getting:

boinc-client.x86_64: W: shared-lib-calls-exit /usr/lib64/libboinc_graphics2.so.6.10.56 exit@GLIBC_2.2.5
boinc-client.x86_64: W: shared-lib-calls-exit /usr/lib64/libboinc_api.so.6.10.56 exit@GLIBC_2.2.5
This library package calls exit() or _exit(), probably in a non-fork()
context. Doing so from a library is strongly discouraged - when a library
function calls exit(), it prevents the calling program from handling the
error, reporting it to the user, closing files properly, and cleaning up any
state that the program has. It is preferred for the library to return an
actual error code and let the calling program decide how to handle the
situation.

boinc-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/lib64/libboinc.so.6.10.56
boinc-client.x86_64: W: binary-or-shlib-calls-gethostbyname /usr/bin/boinc-client
The binary calls gethostbyname(). Please port the code to use getaddrinfo().

Can we fix this?

cu Sascha

Change History (1)

comment:1 Changed 14 years ago by Nicolas

Description: modified (diff)
Summary: BOINC 6.10.56: Compiler outputWarnings when compiling for OpenSUSE
Note: See TracTickets for help on using tickets.