library should not do exit() for error handling
It's impolite for a library to call exit().
We should find a better way to do error handling in those case
libbabeltrace.x86_64: W: shared-lib-calls-exit /usr/lib64/libbabeltrace-ctf.so.0.0.0 exit@GLIBC_2.2.5
Its in the file:
Updated by Mathieu Desnoyers about 8 years ago
- Status changed from New to Confirmed
The exit is generated by flex automatically. We can override it by providing our own yy_fatal_error implementation, but it won't allow us to do much better than a kill on self or something like that. Otherwise, we'd have to use setjmp/longjmp, but I'm not sure how portable they are.