)]}'
{
  "commit": "f8e4eb6aaac16c42d44fa2580e59bc8017c80cef",
  "tree": "6e0937bbcb5ffef70fd38ef2f30826b7e4143b4e",
  "parents": [
    "09aeeb1ca9cf28d4ca297299881168ac06dd562e"
  ],
  "author": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Fri Nov 28 12:55:33 2025 +0100"
  },
  "committer": {
    "name": "Tom de Vries",
    "email": "tdevries@suse.de",
    "time": "Fri Nov 28 12:55:33 2025 +0100"
  },
  "message": "[gdb/build, c++20] Fix UTF-8 string literal usage\n\nPR build/33675 reports a build breaker:\n...\ntop.c: In function ‘void box_one_message(ui_file*, std::string, int)’:\ntop.c:1368:35: error: conditional expression between distinct pointer types \\\n  ‘const char8_t*’ and ‘const char*’ lacks a cast\n 1368 |   const char *wall \u003d emojis_ok () ? u8\"\\u2503\" : \"|\";\n      |                      ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~\n...\n\nThe problem is that UTF-8 string literals have type:\n- const char[N]    (until C++20), or\n- const char8_t[N] (since C++20)\n\nFix this by assigning to variables:\n...\nstatic const char bd_heavy_vertical[] \u003d u8\"\\u2503\";\n...\nand using the variables instead.\n\nTested by rebuilding on x86_64-linux, and starting gdb and checking the\nwelcome message box.\n\nReviewed-By: Guinevere Larsen \u003cguinevere@redhat.com\u003e\n\nBug: https://sourceware.org/bugzilla/show_bug.cgi?id\u003d33675\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "2e3b373d5e2f150ba0a6ec9e29d0172729e46a9b",
      "old_mode": 33188,
      "old_path": "gdb/top.c",
      "new_id": "0798fea7a3bbfbbea6ac192c6ca9a15ebeb30d0e",
      "new_mode": 33188,
      "new_path": "gdb/top.c"
    }
  ]
}
