I\'m trying to create a static rule to check the token passing for defensive programming in a SIL4 application.
We use Parasoft C++test to statically analyze our code. It\'s having trouble with code like the following:
We have a die function that outputs an error message and exits, e.g.: void die(const char* msg) { fprintf(stderr, \"Error: %s\\n\", msg);
We have a body of C++ code which is being ported from a RHEL4-based distro to RHEL-5-based. It used to compile with g++ 3.4.3, and now compiles with g++ 4.1.2.