is there a way to ignore warnings via pragmas in xC?
I want to disable warnings for external headers. With GCC, for example, this seems to be possible with pragmas like this:
Code: Select all
#pragma GCC diagnostic push
#pragma GCC diagnostic ignored "-Wunused-parameter"
#include </path/to/real/include.h>
#pragma GCC diagnostic pop
Is there a way to achieve the same with XCC? (Just replacing GCC with XCC does not work)