{"action":"created","issue":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/2246","repository_url":"https://api.github.com/repos/mesonbuild/meson","labels_url":"https://api.github.com/repos/mesonbuild/meson/issues/2246/labels{/name}","comments_url":"https://api.github.com/repos/mesonbuild/meson/issues/2246/comments","events_url":"https://api.github.com/repos/mesonbuild/meson/issues/2246/events","html_url":"https://github.com/mesonbuild/meson/issues/2246","id":252523806,"number":2246,"title":"cc.has_header: provide a way to check for the usability of a header too","user":{"login":"whs","id":345483,"avatar_url":"https://avatars2.githubusercontent.com/u/345483?v=4","gravatar_id":"","url":"https://api.github.com/users/whs","html_url":"https://github.com/whs","followers_url":"https://api.github.com/users/whs/followers","following_url":"https://api.github.com/users/whs/following{/other_user}","gists_url":"https://api.github.com/users/whs/gists{/gist_id}","starred_url":"https://api.github.com/users/whs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whs/subscriptions","organizations_url":"https://api.github.com/users/whs/orgs","repos_url":"https://api.github.com/users/whs/repos","events_url":"https://api.github.com/users/whs/events{/privacy}","received_events_url":"https://api.github.com/users/whs/received_events","type":"User","site_admin":false},"labels":[{"id":251967616,"url":"https://api.github.com/repos/mesonbuild/meson/labels/compilers","name":"compilers","color":"c7def8","default":false},{"id":99546087,"url":"https://api.github.com/repos/mesonbuild/meson/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":448958539,"url":"https://api.github.com/repos/mesonbuild/meson/labels/help%20wanted","name":"help wanted","color":"75B427","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-08-24T08:23:36Z","updated_at":"2018-02-09T13:53:56Z","closed_at":null,"author_association":"NONE","body":"Clang ships with [intrin.h](https://github.com/llvm-mirror/clang/blob/14840f889232ae3a896505b734d409f6acfcd536/lib/Headers/intrin.h#L26) that will only run `#includenext` on non-Windows platform.\r\n\r\nThis cause `compiler.has_header('intrin.h')` false positive, as it will return true but all compilation using that header will fail.\r\n\r\n[Autoconf's AC_CHECK_HEADER](https://www.gnu.org/software/autoconf/manual/autoconf-2.61/html_node/Generic-Headers.html) use compilation to test instead of just preprocessor. I'd suggest that meson should change its behavior to be like that as well."},"comment":{"url":"https://api.github.com/repos/mesonbuild/meson/issues/comments/364439456","html_url":"https://github.com/mesonbuild/meson/issues/2246#issuecomment-364439456","issue_url":"https://api.github.com/repos/mesonbuild/meson/issues/2246","id":364439456,"user":{"login":"nirbheek","id":75801,"avatar_url":"https://avatars0.githubusercontent.com/u/75801?v=4","gravatar_id":"","url":"https://api.github.com/users/nirbheek","html_url":"https://github.com/nirbheek","followers_url":"https://api.github.com/users/nirbheek/followers","following_url":"https://api.github.com/users/nirbheek/following{/other_user}","gists_url":"https://api.github.com/users/nirbheek/gists{/gist_id}","starred_url":"https://api.github.com/users/nirbheek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nirbheek/subscriptions","organizations_url":"https://api.github.com/users/nirbheek/orgs","repos_url":"https://api.github.com/users/nirbheek/repos","events_url":"https://api.github.com/users/nirbheek/events{/privacy}","received_events_url":"https://api.github.com/users/nirbheek/received_events","type":"User","site_admin":false},"created_at":"2018-02-09T13:53:56Z","updated_at":"2018-02-09T13:53:56Z","author_association":"MEMBER","body":"@whs two things: (1) Are you still planning on submitting it as a wrap project? (2) Maybe instead of switching to meson, since upstream project is considered \"done\", adding meson as a parallel build system would've been more palatable."}}
{"actor":{"display_login":"nirbheek"}}