-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Closed
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.quick fix
Milestone
Description
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 having target_compile_features(test PRIVATE cxx_std_98) in CMakeLists.txt.
The error is error: '>>' should be '> >' within a nested template argument list.
#include <vector>
int main()
{
std::vector<std::vector<int>> v;
return 0;
}
Metadata
Metadata
Assignees
Labels
Language ServicebugfixedCheck the Milestone for the release in which the fix is or will be available.Check the Milestone for the release in which the fix is or will be available.quick fix