How can I pass extra arguments to the C pre-processor?
The cxref program itself has three ways that you can specify the arguments that are passed to the C pre-processor. a) The -CPP option allows the name of the pre-processor program itself to be changed. e.g. ‘cxref -CPP “/usr/foo/cpp -C” foo.c’ will use the cpp from /usr/foo instead of the compiled in default and pass it the option -C. b) The most common C pre-processor commands are recognised by cxref automatically, these are -D*, -U* and -I*. c) Any amount of extra options can be passed to the preprocessor by appending them to the command line after the end-of-arguments marker ‘–‘. e.g. ‘cxref foo.c — -traditional’ will pass -traditional to the pre-processor.