GNU bug report logs -
#22186
Use {C,CPLUS,OBJC}_INCLUDE_PATH instead of CPATH
Previous Next
Reported by: Andy Wingo <wingo <at> igalia.com>
Date: Wed, 16 Dec 2015 16:43:01 UTC
Severity: normal
Fixed in version 0.9.1
Done: ludo <at> gnu.org (Ludovic Courtès)
Bug is archived. No further changes may be made.
Full log
Message #23 received at 22186 <at> debbugs.gnu.org (full text, mbox):
Andy Wingo <wingo <at> igalia.com> skribis:
> On Thu 17 Dec 2015 22:43, ludo <at> gnu.org (Ludovic Courtès) writes:
>
>> Andy Wingo <wingo <at> igalia.com> skribis:
>>
>>> We should be using C_INCLUDE_PATH instead of CPATH, to mark system
>>> headers as system headers. Except that C_INCLUDE_PATH only works for
>>> C, so we need to also set CPLUS_INCLUDE_PATH and OBJC_INCLUDE_PATH.
>>> And that's the proposal of this bug :)
>>
>> The intent of this “system header” classification, AIUI, is to not
>> bother users with issues in libc headers.
>
> I don't think this is true, for what it's worth :) If we take FHS
> systems to be the de-facto default standard on how things should behave,
> -isystem covers all of /usr/include, so in practice it covers not just
> libc warnings, but many other warnings, which when you pass -Werror
> would then become errors.
Now that you mention it, it makes a lot of sense to me; I must have
lived away from FHS for too long now. ;-)
We’re right on time to make the change you propose in ‘core-updates’.
I’ll give it a try and we’ll see how it goes.
Thanks for bearing with me!
Ludo’.
This bug report was last modified 9 years and 158 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.