Closed Archivist062 closed 6 years ago
That error isn't a false positive, it's correct. clang's c++17 support began with 5.0, so 3.8 doesn't recognize --std=c+17. It does have some pre-standard support which you can enable with --std=c++1z.
For details see here.
@jonasdmentia a bit off-topic, but the Contributions
tab of vscode-clangd
does not list clang.cxxflags
as an option. Has something changed recently?
@davydden, not according to the commit history...if anything it looks a bit dead as it's not been touched in a year. That said, my Contributions
tab still lists clang.cxxflags
. I'm running vscode 1.21.1 with vscode-clangd 0.2.2
ah, sorry, I mixed this GitHub repository vscode-clang
with LLVM's
plugin vscode-clagd
https://marketplace.visualstudio.com/items?itemName=llvm-vs-code-extensions.vscode-clangd with version 0.0.5
.
Step to reproduce:
VSCODE:
Extension
clang -v
:OS:
Debian 9 32bit