{"action":"closed","issue":{"url":"https://api.github.com/repos/IFS-HSR/SConsolidator/issues/11","repository_url":"https://api.github.com/repos/IFS-HSR/SConsolidator","labels_url":"https://api.github.com/repos/IFS-HSR/SConsolidator/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/IFS-HSR/SConsolidator/issues/11/comments","events_url":"https://api.github.com/repos/IFS-HSR/SConsolidator/issues/11/events","html_url":"https://github.com/IFS-HSR/SConsolidator/issues/11","id":36779773,"number":11,"title":"Build info collection ignores CXXFLAGS","user":{"login":"migel","id":3897227,"avatar_url":"https://avatars.githubusercontent.com/u/3897227?v=3","gravatar_id":"","url":"https://api.github.com/users/migel","html_url":"https://github.com/migel","followers_url":"https://api.github.com/users/migel/followers","following_url":"https://api.github.com/users/migel/following{/other_user}","gists_url":"https://api.github.com/users/migel/gists{/gist_id}","starred_url":"https://api.github.com/users/migel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/migel/subscriptions","organizations_url":"https://api.github.com/users/migel/orgs","repos_url":"https://api.github.com/users/migel/repos","events_url":"https://api.github.com/users/migel/events{/privacy}","received_events_url":"https://api.github.com/users/migel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-06-30T08:58:09Z","updated_at":"2016-04-08T14:57:30Z","closed_at":"2016-04-08T14:57:30Z","body":"It looks like the process that is run to collect include paths and preprocessor macros is not passed the ```CXXFLAGS```. This can cause problems when the ```CXXFLAGS``` affects the results. For example using ```--std=c++11``` flag defines the macro  ```__cplusplus 201103L```; without it the eclipse c++ indexer will not properly parse c++ 11 code. Another example is using ```--stdlib=libc++``` with ```clang++```, it adds ```/usr/include/c++/v1``` to the list of include paths."}}