This follow is my remote server and local vscode
this follow context
"configurations": [
{
"name": "Linux",
"includePath": [
"${workspaceFolder}/**",
"/usr/include"
],
"defines": [],
"compilerPath": "/usr/bin/clang++-12",
"cStandard": "gnu11",
"cppStandard": "c++17",
"intelliSenseMode": "linux-clang-x64",
"configurationProvider": "ms-vscode.cmake-tools"
}
],
"version": 4
}
in my remote c_cpp_properties.json under .vscode folder
settings.json:
"C_Cpp.default.cppStandard": "c++17",
"clang.cxxflags": [
"-std=c++17"
],
but my code can be compiled