-
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
GCC 13, cannot convert std::vector to std::span #11026
Comments
@sean-mcmanus Can you take a look? |
@intractabilis Internal bug number 1816127. |
Thank you! |
Given that the constructor for ... which appears to be (arguably) a gcc-13 header bug, as it's using a built-in without checking for support for that built-in, as the system headers do elsewhere. |
Gosh, it seems like it's not only
|
Hi @intractabilis . Are you seeing any issues related to these? Except for It looks like we'll be receiving support for the new built-ins soon. Though, if gcc were to add the missing check around use of |
Ok, good to know. |
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
Version: 1.78.2
Commit: b3e4e68a0bc097f0ae7907b217c1119af9e03435
Date: 2023-05-10T14:47:05.613Z
Electron: 22.5.2
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: 10.8.168.25-electron.0
OS: Linux x64 6.3.4-1-MANJARO
Sandboxed: No
C/C++ Extension Version: 1.15.4
Bug Summary and Steps to Reproduce
Consider the following MWE:
If you use GCC 13, VS Code will complain that in line
foo(somevector)
“no suitable user-defined conversion from "std::vector<int, std::allocator>" to "std::span<int, 18446744073709551615UL>" exists”.This MWE works fine with GCC 12.
Configuration and Logs
c_cpp_properties.json:
C/C++: Log Diagnostics:
Logs from the language server logging:
The text was updated successfully, but these errors were encountered: