{"action":"created","issue":{"url":"https://api.github.com/repos/hebaishi/linter-gcc/issues/26","repository_url":"https://api.github.com/repos/hebaishi/linter-gcc","labels_url":"https://api.github.com/repos/hebaishi/linter-gcc/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/hebaishi/linter-gcc/issues/26/comments","events_url":"https://api.github.com/repos/hebaishi/linter-gcc/issues/26/events","html_url":"https://github.com/hebaishi/linter-gcc/issues/26","id":131708541,"number":26,"title":"#pragma once warning","user":{"login":"Arial7","id":6919894,"avatar_url":"https://avatars.githubusercontent.com/u/6919894?v=3","gravatar_id":"","url":"https://api.github.com/users/Arial7","html_url":"https://github.com/Arial7","followers_url":"https://api.github.com/users/Arial7/followers","following_url":"https://api.github.com/users/Arial7/following{/other_user}","gists_url":"https://api.github.com/users/Arial7/gists{/gist_id}","starred_url":"https://api.github.com/users/Arial7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arial7/subscriptions","organizations_url":"https://api.github.com/users/Arial7/orgs","repos_url":"https://api.github.com/users/Arial7/repos","events_url":"https://api.github.com/users/Arial7/events{/privacy}","received_events_url":"https://api.github.com/users/Arial7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-05T17:48:47Z","updated_at":"2016-02-07T16:23:43Z","closed_at":null,"body":"Hey :wink:\r\n\r\nWhen I try to lint a header file (with extension .h),  the linter will give me the following warning:\r\n`warning: #pragma once in main file`.  When I switch to the default include guards, gcc will not output this error, however my project has over 100 header files and I don't want to switch from `#pragma once` to the include guards. \r\n\r\nDo you have any help? Thanks in advance.\r\n"},"comment":{"url":"https://api.github.com/repos/hebaishi/linter-gcc/issues/comments/181042312","html_url":"https://github.com/hebaishi/linter-gcc/issues/26#issuecomment-181042312","issue_url":"https://api.github.com/repos/hebaishi/linter-gcc/issues/26","id":181042312,"user":{"login":"Arial7","id":6919894,"avatar_url":"https://avatars.githubusercontent.com/u/6919894?v=3","gravatar_id":"","url":"https://api.github.com/users/Arial7","html_url":"https://github.com/Arial7","followers_url":"https://api.github.com/users/Arial7/followers","following_url":"https://api.github.com/users/Arial7/following{/other_user}","gists_url":"https://api.github.com/users/Arial7/gists{/gist_id}","starred_url":"https://api.github.com/users/Arial7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arial7/subscriptions","organizations_url":"https://api.github.com/users/Arial7/orgs","repos_url":"https://api.github.com/users/Arial7/repos","events_url":"https://api.github.com/users/Arial7/events{/privacy}","received_events_url":"https://api.github.com/users/Arial7/received_events","type":"User","site_admin":false},"created_at":"2016-02-07T16:23:43Z","updated_at":"2016-02-07T16:23:43Z","body":"Well technically yes, the script works, but why does gcc warn me about using pragma once?"}}