{"action":"created","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/404","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/404/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/404/events","html_url":"https://github.com/mesonbuild/meson/pull/404","id":135493527,"number":404,"title":"Pass warning arguments to compiler even if buildtype is plain","user":{"login":"martin-ejdestig","id":15310118,"avatar_url":"https://avatars.githubusercontent.com/u/15310118?v=3","gravatar_id":"","url":"https://api.github.com/users/martin-ejdestig","html_url":"https://github.com/martin-ejdestig","followers_url":"https://api.github.com/users/martin-ejdestig/followers","following_url":"https://api.github.com/users/martin-ejdestig/following{/other_user}","gists_url":"https://api.github.com/users/martin-ejdestig/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-ejdestig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-ejdestig/subscriptions","organizations_url":"https://api.github.com/users/martin-ejdestig/orgs","repos_url":"https://api.github.com/users/martin-ejdestig/repos","events_url":"https://api.github.com/users/martin-ejdestig/events{/privacy}","received_events_url":"https://api.github.com/users/martin-ejdestig/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-02-22T17:58:42Z","updated_at":"2016-02-22T18:28:34Z","closed_at":"2016-02-22T18:08:20Z","pull_request":{"url":"https://api.github.com/repos/mesonbuild/meson/pulls/404","html_url":"https://github.com/mesonbuild/meson/pull/404","diff_url":"https://github.com/mesonbuild/meson/pull/404.diff","patch_url":"https://github.com/mesonbuild/meson/pull/404.patch"},"body":"Noticed when trying to pass custom optimization flags, and hence setting\r\nbuildtype to plain, that warnings for different levels were not passed to\r\ncompiler.\r\n\r\nThis was a bit confusing since mesonconf still displayed \"warning_level=3\"\r\nand -Werror was passed correctly due to \"werror=true\". So this change\r\naligns warning_level behavior with werror. That is, heed what is in\r\nproject() in meson.build but user can still override if necessary."},"comment":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/comments/187307011","html_url":"https://github.com/mesonbuild/meson/pull/404#issuecomment-187307011","issue_url":"https://api.github.com/repos/mesonbuild/meson/issues/404","id":187307011,"user":{"login":"martin-ejdestig","id":15310118,"avatar_url":"https://avatars.githubusercontent.com/u/15310118?v=3","gravatar_id":"","url":"https://api.github.com/users/martin-ejdestig","html_url":"https://github.com/martin-ejdestig","followers_url":"https://api.github.com/users/martin-ejdestig/followers","following_url":"https://api.github.com/users/martin-ejdestig/following{/other_user}","gists_url":"https://api.github.com/users/martin-ejdestig/gists{/gist_id}","starred_url":"https://api.github.com/users/martin-ejdestig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/martin-ejdestig/subscriptions","organizations_url":"https://api.github.com/users/martin-ejdestig/orgs","repos_url":"https://api.github.com/users/martin-ejdestig/repos","events_url":"https://api.github.com/users/martin-ejdestig/events{/privacy}","received_events_url":"https://api.github.com/users/martin-ejdestig/received_events","type":"User","site_admin":false},"created_at":"2016-02-22T18:28:34Z","updated_at":"2016-02-22T18:28:34Z","body":"Quick-guide.md should perhaps also be updated."}}