Skip to content

Instantly share code, notes, and snippets.

@RolandWarburton
Created October 27, 2019 02:27
Show Gist options
  • Save RolandWarburton/46353b76629c50a666ce6d9033b36de1 to your computer and use it in GitHub Desktop.
Save RolandWarburton/46353b76629c50a666ce6d9033b36de1 to your computer and use it in GitHub Desktop.
// fix launch.json by adding this.
// make sure to change the gcc version, currently on 9.2.0
// check with: ``c++ --version``
// reference
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
},
{
"text": "set substitute-path /build/gcc/src/gcc-build/x86_64-pc-linux-gnu/libstdc++-v3/include /usr/include/c++/9.2.0"
}
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment