-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ranges library mingw 13.1.0 error squiggles bug #11050
Comments
@MFattakhov |
Given the dependency on |
Using #11038 to track this. Closing this one as a duplicate. |
Fix available in pre-release https://github.com/microsoft/vscode-cpptools/releases/tag/v1.17.0. |
Environment
Bug Summary and Steps to Reproduce
Bug Summary:
Error squiggles when using mingw 13.1.0 g++ compiler and ranges' library features. For example, using
std::views::iota
gives youno instance of overloaded function "std::ranges::views::_Iota::operator()" matches the argument listC/C++(304) tmp.cpp(5, 17): argument types are: (int, int) tmp.cpp(5, 17): object type is: const std::ranges::views::_Iota
Steps to reproduce:
in some tmp.cpp
2. Ensure IntelliSense configuration is set up with mingw's g++ 13.1.0 compiler (can be installed via scoop)
3. Observe error squiggles
4. Ensure there is no compilation errors via `g++ -g -std=c++20 ".\tmp.cpp"
Expected behavior:
Obviously there shouldn't be any error. Works fine with mingw's g++ 12.2.0 compiler
Configuration and Logs
Other Extensions
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: