)]}'
{
  "commit": "0e39c4aa7ecc5699bc391fcb1dceed88d077e99d",
  "tree": "9e951de075ebb37a876533805ddf5cd97de9aa4c",
  "parents": [
    "e4ae62b802cec437f877f2cadc4ef059cc0eca76"
  ],
  "author": {
    "name": "Gerd Hoffmann",
    "email": "kraxel@redhat.com",
    "time": "Fri Mar 09 14:59:45 2018 +0100"
  },
  "committer": {
    "name": "Gerd Hoffmann",
    "email": "kraxel@redhat.com",
    "time": "Mon Mar 12 08:59:03 2018 +0100"
  },
  "message": "build: try improve handling of clang warnings\n\nThis patch disables the pragma diagnostic -Wunused-but-set-variable for\nclang in util/coroutine-ucontext.c.\n\nThis in turn allows us to remove it from the configure check, so the\nCONFIG_PRAGMA_DIAGNOSTIC_AVAILABLE will succeed for clang.\n\nWith that in place clang builds (linux) will use -Werror by default,\nwhich breaks the build due to warning about unaligned struct members.\n\nJust turning off this warning isn\u0027t a good idea as it indicates\nportability problems.  So make it a warning again, using\n-Wno-error\u003daddress-of-packed-member.  That way it doesn\u0027t break the\nbuild but still shows up in the logs.\n\nNow clang builds qemu without errors.  Well, almost.  There are some\nleft in the rdma code.  Leaving that to the rdma people.  All others can\nuse --disable-rdma to workarounds this.\n\nCc: Peter Maydell \u003cpeter.maydell@linaro.org\u003e\nSigned-off-by: Gerd Hoffmann \u003ckraxel@redhat.com\u003e\nMessage-Id: \u003c20180309135945.20436-1-kraxel@redhat.com\u003e\nReviewed-by: Thomas Huth \u003cthuth@redhat.com\u003e\nReviewed-by: Philippe Mathieu-Daudé \u003cf4bug@amsat.org\u003e\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "f74e1f3b7cce0a5c4f56a48d0a8a7d65c3b55dd7",
      "old_mode": 33261,
      "old_path": "configure",
      "new_id": "356abee025a14eb4755af15a5c27573e8b7224b1",
      "new_mode": 33261,
      "new_path": "configure"
    },
    {
      "type": "modify",
      "old_id": "926d3402e3ae48c4605270f14e6ed3bed946feec",
      "old_mode": 33188,
      "old_path": "util/coroutine-ucontext.c",
      "new_id": "090ba21a13ea03459b3e79aa82ec0262591a49ea",
      "new_mode": 33188,
      "new_path": "util/coroutine-ucontext.c"
    }
  ]
}
