I want to use --force to check all possible #ifdef combinations.
However there are some defines that will never be used e.g.
various platforms (sun, aix etc) when we only use linux and
Windows. So these unwanted cases can be excluded with -U.
But if there are many defines to exclude then the command line
gets pretty long. For include paths there's already the param
--includes-file. All -D items can be collected in a file which
can be used with --include. I'd like to have a similar way for
the -U items. Adding them to the --include file with #undef
doesn't work, they will still be checked.
I would also like a possibility to exclude certain #ifdef
combinations. To stay with the platform example it doesn't
make sense to check linux and windows at the same time,
it will only be either or. This would also help in bringing
down the running time.
Thank you
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello
I want to use --force to check all possible #ifdef combinations.
However there are some defines that will never be used e.g.
various platforms (sun, aix etc) when we only use linux and
Windows. So these unwanted cases can be excluded with -U.
But if there are many defines to exclude then the command line
gets pretty long. For include paths there's already the param
--includes-file. All -D items can be collected in a file which
can be used with --include. I'd like to have a similar way for
the -U items. Adding them to the --include file with #undef
doesn't work, they will still be checked.
I would also like a possibility to exclude certain #ifdef
combinations. To stay with the platform example it doesn't
make sense to check linux and windows at the same time,
it will only be either or. This would also help in bringing
down the running time.
Thank you