)]}'
{
  "commit": "24a601dd70a53fc87f33196774f8d883be31d2fe",
  "tree": "9f6f6dff80927de482ec90df07240ea45867cc47",
  "parents": [
    "f0ae7030f00ea08c9ec09493b6ece447879bcab4"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Aug 17 10:41:34 2023 +0200"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Thu Aug 17 10:41:34 2023 +0200"
  },
  "message": "[gdb/build, c++20] Fix Wdeprecated-enum-enum-conversion\n\nWhen building gdb with clang 15 and -std\u003dc++20, I run into:\n...\ngdbsupport/common-exceptions.h:203:32: error: arithmetic between different \\\n  enumeration types (\u0027const enum return_reason\u0027 and \u0027const enum errors\u0027) is \\\n  deprecated [-Werror,-Wdeprecated-enum-enum-conversion]\n    size_t result \u003d exc.reason + exc.error;\n                    ~~~~~~~~~~ ^ ~~~~~~~~~\n...\n\nFix this by using to_underlying.\n\nLikewise in a few other places.\n\nTested on x86_64-linux.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "6fefabac0cee8e16aa41a7f837705cec9f3cde79",
      "old_mode": 33188,
      "old_path": "gdb/remote.c",
      "new_id": "e01da795ec88c384cb9f13e8b0fbd7aa6ada1165",
      "new_mode": 33188,
      "new_path": "gdb/remote.c"
    },
    {
      "type": "modify",
      "old_id": "ff83743da36e5e9a3bdec47d6155a8dae13eb47c",
      "old_mode": 33188,
      "old_path": "gdb/rs6000-tdep.c",
      "new_id": "71390513ad2aba98a06685504839744168a288ce",
      "new_mode": 33188,
      "new_path": "gdb/rs6000-tdep.c"
    },
    {
      "type": "modify",
      "old_id": "f9b59ece7362145b69f4dbfb03b0fcf5cb63cf85",
      "old_mode": 33188,
      "old_path": "gdbsupport/common-exceptions.h",
      "new_id": "e47502114488390aad66a3d7b63069d4bd6cccaf",
      "new_mode": 33188,
      "new_path": "gdbsupport/common-exceptions.h"
    }
  ]
}
