[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnulib] feature request: argp()

From: Simon Josefsson
Subject: Re: [Bug-gnulib] feature request: argp()
Date: Wed, 11 Jun 2003 21:37:34 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Bruno Haible <address@hidden> writes:

> Simon Josefsson wrote:
>> > I don't think -I- is portable. That's why we copy
>> >     alloca_.h to alloca.h
>> >     sysexit_.h to sysexits.h
>> > if the system doesn't have this include file.
>> Right, but will writing
>> #include <sysexits.h>
>> in your application code and having the sysexits.h file residing in
>> the application source tree work if the user uses -I-?  I'm not sure
>> how gnulib modules are (will be) integrated into applications, so
>> maybe that process takes care of this problem, either by disallowing
>> -I- or make sure the -I. is added again after any -I-.
> Why would anyone use -I- when attempting to use portable programs?
> (-I- is specific to gcc.)
> Also the various -I options that automake adds by itself are undocumented;
> anyone using -I- from within a Makefile.am is likely to fall on his face
> by disabling some automake functionality (like VPATH builds).


I think we agree that there is nothing that should be done in gnulib
to address my potential issue.  If someone ever has problems related
to this, it can be solved better when there is a real bug to analyze.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]