ccsm icon indicating copy to clipboard operation
ccsm copied to clipboard

Files which are recursively included may not be handled correctly

Open bright-tools opened this issue 9 years ago • 0 comments

Say we have something like this:

Header.h

extern int mex;
# if defined FOO

extern int foo;
# undef FOO
# include "header.h"
# else

extern int moo;
# endif

Where a file effectively includes itself, this may not be handled correctly by CCSM at the moment - CCSM is likely to process the file twice resulting in the metric count being artificially inflated.

bright-tools avatar Sep 03 '14 20:09 bright-tools