[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

shlib-calls-exit and the flex-generated function yy_fatal_error



Hi,
If a debian package uses flex to generate some of its source code for
a shared library, lintian would report

shlib-calls-exit
( http://lintian.debian.org/tags/shlib-calls-exit.html )

because of the exit() call in the flex-generated function yy_fatal_error:

static void yy_fatal_error (yyconst char* msg )
{
        (void) fprintf( stderr, "%s\n", msg );
        exit( YY_EXIT_FAILURE );
}

How should I handle this?
Maybe with an lintian override?
(I also have upstream read-write access to the source code)

cheers,
Erik Sjölund


Reply to: