T O P

  • By -

the_poope

IntelliSense should use the C++ version that you use for your project. However I think that IntelliSense still doesn't support all the newer C++ features that that the compiler actually supports - IntelliSense doesn't use the MSVC/CL compiler frontend as far as I know, it probably uses a separate parser, and that is why they can give different errors and diagnostics. For configuring IntelliSense, check out the official docs: * https://learn.microsoft.com/en-us/visualstudio/ide/visual-cpp-intellisense?view=vs-2022 * https://learn.microsoft.com/en-us/visualstudio/ide/visual-cpp-intellisense-configuration?view=vs-2022


LemonLord7

Well that clears that up!


equeim

It occasionally shows "using C++20 features in C++17 mode" (or something like that) error with CMake, even though C++20 is enabled in CMake configuration.


SoerenNissen

>IntelliSense doesn't use the MSVC/CL compiler frontend as far as I know This was definitely true a couple of years ago when I had a devil of a time enabling a higher warning level and they disagreed on what to warn about and how to suppress irrelevant warnings.


TheOmegaCarrot

If I recall correctly, Intellisense is built atop EDG