You can configure Intellisense to use a specific C Standard (e.g. "cStandard": "gnu23" -> C23 + GNU extensions). As a hint: use the same standard for Intellisense and the compiler (e.g. -std=gnu23). Also take a look at: C++ extension settings reference.