{"action":"opened","issue":{"url":"https://api.github.com/repos/arduino/arduino-builder/issues/22","labels_url":"https://api.github.com/repos/arduino/arduino-builder/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/arduino/arduino-builder/issues/22/comments","events_url":"https://api.github.com/repos/arduino/arduino-builder/issues/22/events","html_url":"https://github.com/arduino/arduino-builder/issues/22","id":108980173,"number":22,"title":"library-to-library dependencies","user":{"login":"descampsa","id":7195391,"avatar_url":"https://avatars.githubusercontent.com/u/7195391?v=3","gravatar_id":"","url":"https://api.github.com/users/descampsa","html_url":"https://github.com/descampsa","followers_url":"https://api.github.com/users/descampsa/followers","following_url":"https://api.github.com/users/descampsa/following{/other_user}","gists_url":"https://api.github.com/users/descampsa/gists{/gist_id}","starred_url":"https://api.github.com/users/descampsa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/descampsa/subscriptions","organizations_url":"https://api.github.com/users/descampsa/orgs","repos_url":"https://api.github.com/users/descampsa/repos","events_url":"https://api.github.com/users/descampsa/events{/privacy}","received_events_url":"https://api.github.com/users/descampsa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-29T23:25:16Z","updated_at":"2015-09-29T23:25:16Z","closed_at":null,"body":"See https://github.com/arduino/Arduino/issues/3877 for previous discussion.\r\nThe problem is that a library is not recompiled when the include list of the main sketch (or of another library) has changed, despite the compilation option (include paths) are modified.\r\n\r\nNote that when library-to-library dependencies will be completely supported (https://github.com/arduino/arduino-builder/issues/12), i think it will be harder to find a reasonnable case where it is really noticeable. The only one i can think of is the one suggested by matthijskooijman, with the conflicting secondary header files. \r\n\r\nI still think however that the proposed solution (each library generates its own dependency list) would make more sense and avoid bad surprises in some corner cases."}}