From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: bug#22186: Use {C,CPLUS,OBJC}_INCLUDE_PATH instead of CPATH Date: Thu, 17 Dec 2015 09:20:04 +0000 Message-ID: <87mvt98m9n.fsf@igalia.com> References: <871tama22g.fsf@igalia.com> <20151216221837.588bacf3@debian-netbook> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9UkE-0003Zp-Jx for bug-guix@gnu.org; Thu, 17 Dec 2015 04:21:10 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a9UkB-00089x-8l for bug-guix@gnu.org; Thu, 17 Dec 2015 04:21:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:46586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a9UkB-00089p-2W for bug-guix@gnu.org; Thu, 17 Dec 2015 04:21:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1a9Uk9-0007Vh-S8 for bug-guix@gnu.org; Thu, 17 Dec 2015 04:21:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20151216221837.588bacf3@debian-netbook> (Efraim Flashner's message of "Wed, 16 Dec 2015 22:18:37 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: Efraim Flashner Cc: 22186@debbugs.gnu.org On Wed 16 Dec 2015 20:18, Efraim Flashner 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