I got rid of the shlib-calls-exit by letting CMake replace the exit() call with an abort call(). Maybe it could have been done in other ways, but I made use of plain text replacement in the flex generated source code.
http://stackoverflow.com/questions/13364139/lintian-reports-shlib-calls-exit-from-flex-generated-source-code-when-building-a cheers, Erik Sjölund -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/cab+1q0sghqdbbdc3jy6xhrysnkd2bfzjkyf+u10r-+emqoe...@mail.gmail.com

