-
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
IntelliSense between c++98 and c++03 is different #5225
Comments
|
Yeah, this error is from gcc. With c++03 cpptools gives |
This now works correctly. However, like I mentioned in #5157, I get |
Yeah, that is correct -- our back-end parser treats C++98 and C++03 identically (I think they're very similar). Previously, using "c++98" was causing some later standard to be used. |
This issue is fixed in 0.28.0. |
While testing #5220, I noticed that if I specify
"cppStandard": "c++98"
in c_cpp_properties.json, I do not get red squiggles for code below, but if I specify"cppStandard": "c++03"
, then I do. That is without CMake Tools extension.I also do get red squiggles when I use CMake Tools extension as configuration provider
"configurationProvider": "ms-vscode.cmake-tools"
and havingtarget_compile_features(test PRIVATE cxx_std_98)
in CMakeLists.txt.The error is
error: '>>' should be '> >' within a nested template argument list
.The text was updated successfully, but these errors were encountered: