[cfe-dev] scan-build -analyze-headers issue?
Sascha Wildner
swildner at erpicon.de
Sat Jan 31 16:45:41 PST 2009
Hi,
scan-build with the -analyze-headers option will not analyze foo() if
defined as follows. Code compiles fine with gcc.
test.h:
------------------------
void
FUNCTIONNAME(void)
{
return;
}
------------------------
test.c:
------------------------
#define FUNCTIONNAME foo
#include "test.h"
int
main(void)
{
foo();
}
------------------------
Regards,
Sascha
More information about the cfe-dev
mailing list