From: ludo@gnu.org (Ludovic Courtès)
To: Andy Wingo <wingo@igalia.com>
Cc: 22186@debbugs.gnu.org
Subject: bug#22186: Use {C,CPLUS,OBJC}_INCLUDE_PATH instead of CPATH
Date: Fri, 18 Dec 2015 15:09:00 +0100 [thread overview]
Message-ID: <878u4ronlv.fsf@gnu.org> (raw)
In-Reply-To: <87lh8s6s9j.fsf@igalia.com> (Andy Wingo's message of "Fri, 18 Dec 2015 10:05:44 +0100")
Andy Wingo <wingo@igalia.com> skribis:
> On Thu 17 Dec 2015 22:43, ludo@gnu.org (Ludovic Courtès) writes:
>
>> Andy Wingo <wingo@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’.
next prev parent reply other threads:[~2015-12-18 14:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-16 14:41 bug#22186: Use {C,CPLUS,OBJC}_INCLUDE_PATH instead of CPATH Andy Wingo
2015-12-16 20:18 ` Efraim Flashner
2015-12-17 9:20 ` Andy Wingo
2015-12-17 10:43 ` Ludovic Courtès
2015-12-17 21:43 ` Ludovic Courtès
2015-12-18 9:05 ` Andy Wingo
2015-12-18 14:09 ` Ludovic Courtès [this message]
2015-12-18 23:04 ` Ludovic Courtès
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878u4ronlv.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=22186@debbugs.gnu.org \
--cc=wingo@igalia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).