GNU bug report logs - #22186
Use {C,CPLUS,OBJC}_INCLUDE_PATH instead of CPATH

Previous Next

Package: guix;

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 #11 received at 22186 <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> igalia.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 22186 <at> debbugs.gnu.org
Subject: Re: bug#22186: Use {C,CPLUS,OBJC}_INCLUDE_PATH instead of CPATH
Date: Thu, 17 Dec 2015 09:20:04 +0000
On Wed 16 Dec 2015 20:18, Efraim Flashner <efraim <at> flashner.co.il> writes:

>> 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 :)
>
> Are there other ones that could be set? Every time I compile it I see options
> for java and go.

No, the only ones mentioned in the manual are the ones I mention above.
To me this makes sense, as ObjC and C++ can include C, but that is not
the case for Java and Go.

Andy




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.