The config file is included via the --library parameter.
But i still get the error
--check-library: Function __no_operation() should have <noreturn> configuration
where this "function" is called.
Shouldn't the defines in the config files be used by the cppcheck preprocessor (simplecpp)? So the function call shouldn't be visible for cppcheck?
Or does it work in another way?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
i have a config file that includes this line:
The config file is included via the --library parameter.
But i still get the error
where this "function" is called.
Shouldn't the defines in the config files be used by the cppcheck preprocessor (simplecpp)? So the function call shouldn't be visible for cppcheck?
Or does it work in another way?
yes that is the expected behaviour.