Open grishalipenko opened 4 months ago
@grishalipenko I've reported VS bugs https://developercommunity.visualstudio.com/t/C-IntelliSense-incorrectly-reports-E0/10643601 and https://developercommunity.visualstudio.com/t/C-IntelliSense-incorrectly-reports-err/10643609 to track these issues (for our shared IntelliSense code). FYI, the string code doesn't compile with gcc, but it does with clang and cl.exe so the IntelliSense errors are incorrect still, although I'm not sure which compilers are behaving correctly, i.e. it could be a gcc bug too.
Environment
Bug Summary and Steps to Reproduce
Unexpected errors with code using designated initializer https://en.cppreference.com/w/cpp/language/aggregate_initialization#Designated_initializers:
Configuration and Logs
Other Extensions
No response
Additional context
No response