{"action":"created","issue":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/287","labels_url":"https://api.github.com/repos/solettaproject/soletta/issues/287/labels{/name}","comments_url":"https://api.github.com/repos/solettaproject/soletta/issues/287/comments","events_url":"https://api.github.com/repos/solettaproject/soletta/issues/287/events","html_url":"https://github.com/solettaproject/soletta/issues/287","id":94474806,"number":287,"title":"`sol-flow-builtopts.h` included from two different places break pragma once","user":{"login":"cmarcelo","id":10478,"avatar_url":"https://avatars.githubusercontent.com/u/10478?v=3","gravatar_id":"","url":"https://api.github.com/users/cmarcelo","html_url":"https://github.com/cmarcelo","followers_url":"https://api.github.com/users/cmarcelo/followers","following_url":"https://api.github.com/users/cmarcelo/following{/other_user}","gists_url":"https://api.github.com/users/cmarcelo/gists{/gist_id}","starred_url":"https://api.github.com/users/cmarcelo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmarcelo/subscriptions","organizations_url":"https://api.github.com/users/cmarcelo/orgs","repos_url":"https://api.github.com/users/cmarcelo/repos","events_url":"https://api.github.com/users/cmarcelo/events{/privacy}","received_events_url":"https://api.github.com/users/cmarcelo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"dorileo","id":960327,"avatar_url":"https://avatars.githubusercontent.com/u/960327?v=3","gravatar_id":"","url":"https://api.github.com/users/dorileo","html_url":"https://github.com/dorileo","followers_url":"https://api.github.com/users/dorileo/followers","following_url":"https://api.github.com/users/dorileo/following{/other_user}","gists_url":"https://api.github.com/users/dorileo/gists{/gist_id}","starred_url":"https://api.github.com/users/dorileo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorileo/subscriptions","organizations_url":"https://api.github.com/users/dorileo/orgs","repos_url":"https://api.github.com/users/dorileo/repos","events_url":"https://api.github.com/users/dorileo/events{/privacy}","received_events_url":"https://api.github.com/users/dorileo/received_events","type":"User","site_admin":false},"milestone":null,"comments":6,"created_at":"2015-07-11T13:47:29Z","updated_at":"2015-07-31T21:03:40Z","closed_at":"2015-07-31T21:03:40Z","body":"During the compilation this file ends up being included from two different places. I've found curious that during compilation we include headers from sysroot instead of staging / src.\r\n\r\n```\r\n      CC   build/stage/lib/flow/sol-flow-resolver.o\r\nIn file included from ./src/lib/flow/sol-flow-resolver.c:37:0:\r\n./src/lib/flow/sol-flow-buildopts.h:44:40: warning: redundant redeclaration of ‘sol_flow_resolver_conffile’ [-Wredundant-decls]\r\n extern const struct sol_flow_resolver *sol_flow_resolver_conffile;\r\n                                        ^\r\nIn file included from ./build/soletta_sysroot/usr/include/soletta/sol-flow.h:228:0,\r\n                 from ./build/soletta_sysroot/usr/include/soletta/sol-flow-resolver.h:37,\r\n                 from ./src/lib/flow/sol-flow-resolver.c:35:\r\n./build/soletta_sysroot/usr/include/soletta/sol-flow-buildopts.h:44:40: note: previous declaration of ‘sol_flow_resolver_conffile’ was here\r\n extern const struct sol_flow_resolver *sol_flow_resolver_conffile;\r\n                                        ^\r\n      CC   build/stage/lib/flow/sol-flow-builder.o\r\n```"},"comment":{"url":"https://api.github.com/repos/solettaproject/soletta/issues/comments/126811605","html_url":"https://github.com/solettaproject/soletta/issues/287#issuecomment-126811605","issue_url":"https://api.github.com/repos/solettaproject/soletta/issues/287","id":126811605,"user":{"login":"dorileo","id":960327,"avatar_url":"https://avatars.githubusercontent.com/u/960327?v=3","gravatar_id":"","url":"https://api.github.com/users/dorileo","html_url":"https://github.com/dorileo","followers_url":"https://api.github.com/users/dorileo/followers","following_url":"https://api.github.com/users/dorileo/following{/other_user}","gists_url":"https://api.github.com/users/dorileo/gists{/gist_id}","starred_url":"https://api.github.com/users/dorileo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dorileo/subscriptions","organizations_url":"https://api.github.com/users/dorileo/orgs","repos_url":"https://api.github.com/users/dorileo/repos","events_url":"https://api.github.com/users/dorileo/events{/privacy}","received_events_url":"https://api.github.com/users/dorileo/received_events","type":"User","site_admin":false},"created_at":"2015-07-31T21:03:40Z","updated_at":"2015-07-31T21:03:40Z","body":"fixed with commit 59f3de1d4f9e6694bda0a0e33e2b9d6e7d8a7c49"}}