Bugfix for implicit include path collection
When listing implicit include paths of a GCC compiler, there are space
characters in the output of the corresponding GCC command which emits them.
When checking the existence of these paths the result is False, since there
aren't system include paths starting with space character.
@@ -237,6 +237,7 @@ class ImplicitCompilerInfo(object):
if line.startswith(end_mark):
break
if do_append:
+ line = line.strip()
# On OSX there are framework includes,
# where we need to strip the "(framework directory)" string.
# For instance:
