Skip to content

Instantly share code, notes, and snippets.

@kenji-miyake
Created September 6, 2020 23:10
Show Gist options
  • Save kenji-miyake/008ee61e1d1d6ca18f1cff3e7a1ab692 to your computer and use it in GitHub Desktop.
Save kenji-miyake/008ee61e1d1d6ca18f1cff3e7a1ab692 to your computer and use it in GitHub Desktop.
c_cpp_properties.json for ROS Melodic
{
"configurations": [
{
"name": "ROS",
"browse": {
"databaseFilename": "",
"limitSymbolsToIncludedHeaders": true
},
"includePath": [
"${workspaceFolder}/src/**",
"${workspaceFolder}/install/**",
"${workspaceFolder}/devel/**",
"/opt/ros/melodic/include/**",
"/usr/local/include/**",
"/usr/include/**"
],
"defines": [],
"intelliSenseMode": "gcc-x64",
"compilerPath": "/usr/bin/gcc",
"cStandard": "c11",
"cppStandard": "c++14"
}
],
"version": 4
}
@kenji-miyake
Copy link
Author

There was an error when using gnu++14 for cppStandard.
microsoft/vscode-cpptools#5963 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment