'Visual Code Studio with C/C++ extension: How to disable warnings

I'm working with Zephyr OS in the Visual Code Studio IDE.

Zephyr uses a lot of Macros but the C/C++ extension does not like that and throws Warnings.

One example of a warning you can see here on the screenshot "The function call is not allowed in a constant expression. C/C++(59)" enter image description here

Do you probably now where I can add that warning to a kind of ignore/suppress list?

Many thanks!



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source