{"action":"created","issue":{"url":"https://api.github.com/repos/Sarcasm/flycheck-irony/issues/10","labels_url":"https://api.github.com/repos/Sarcasm/flycheck-irony/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/Sarcasm/flycheck-irony/issues/10/comments","events_url":"https://api.github.com/repos/Sarcasm/flycheck-irony/issues/10/events","html_url":"https://github.com/Sarcasm/flycheck-irony/pull/10","id":97335638,"number":10,"title":"Ignore useless compiler warning messages","user":{"login":"hotpxl","id":2174815,"avatar_url":"https://avatars.githubusercontent.com/u/2174815?v=3","gravatar_id":"","url":"https://api.github.com/users/hotpxl","html_url":"https://github.com/hotpxl","followers_url":"https://api.github.com/users/hotpxl/followers","following_url":"https://api.github.com/users/hotpxl/following{/other_user}","gists_url":"https://api.github.com/users/hotpxl/gists{/gist_id}","starred_url":"https://api.github.com/users/hotpxl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hotpxl/subscriptions","organizations_url":"https://api.github.com/users/hotpxl/orgs","repos_url":"https://api.github.com/users/hotpxl/repos","events_url":"https://api.github.com/users/hotpxl/events{/privacy}","received_events_url":"https://api.github.com/users/hotpxl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-07-26T17:26:08Z","updated_at":"2015-07-27T21:25:06Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Sarcasm/flycheck-irony/pulls/10","html_url":"https://github.com/Sarcasm/flycheck-irony/pull/10","diff_url":"https://github.com/Sarcasm/flycheck-irony/pull/10.diff","patch_url":"https://github.com/Sarcasm/flycheck-irony/pull/10.patch"},"body":"YouCompleteMe has this piece of comment and code. I think it's quite useful to port it here. I added a variable `flycheck-irony--ignored-error` so we could ignore errors before passing it on to `flycheck`.\r\n\r\n> Clang has an annoying warning that shows up when we try to compile header\r\n> files if the header has \"#pragma once\" inside it. The error is not\r\n> legitimate because it shows up because libclang thinks we are compiling a\r\n> source file instead of a header file.\r\n> \r\n> See our issue #216 and upstream bug:\r\n>   http://llvm.org/bugs/show_bug.cgi?id=16686\r\n> \r\n> The second thing we want to filter out are those incredibly annoying \"too\r\n> many errors emitted\" diagnostics that are utterly useless."},"comment":{"url":"https://api.github.com/repos/Sarcasm/flycheck-irony/issues/comments/125347168","html_url":"https://github.com/Sarcasm/flycheck-irony/pull/10#issuecomment-125347168","issue_url":"https://api.github.com/repos/Sarcasm/flycheck-irony/issues/10","id":125347168,"user":{"login":"Sarcasm","id":424046,"avatar_url":"https://avatars.githubusercontent.com/u/424046?v=3","gravatar_id":"","url":"https://api.github.com/users/Sarcasm","html_url":"https://github.com/Sarcasm","followers_url":"https://api.github.com/users/Sarcasm/followers","following_url":"https://api.github.com/users/Sarcasm/following{/other_user}","gists_url":"https://api.github.com/users/Sarcasm/gists{/gist_id}","starred_url":"https://api.github.com/users/Sarcasm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sarcasm/subscriptions","organizations_url":"https://api.github.com/users/Sarcasm/orgs","repos_url":"https://api.github.com/users/Sarcasm/repos","events_url":"https://api.github.com/users/Sarcasm/events{/privacy}","received_events_url":"https://api.github.com/users/Sarcasm/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T21:25:06Z","updated_at":"2015-07-27T21:25:06Z","body":"I guess that is an acceptable thing to do, to expose `:error-filter`."}}