This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: imacros


> Mailing-List: contact libc-hacker-help@sourceware.cygnus.com; run by ezmlm
> From: jaeger@informatik.uni-kl.de
> Date: Tue, 22 Jun 1999 13:26:01 MET DST
> Source-Info:  From (or Sender) name not authenticated.
> 
> >>>>> Mark Kettenis writes:
> 
> Mark> The real problem is that <getopt.h> makes use of the feature test
> Mark> macro's but does not include <features.h> itself.  We cannot include
> Mark> <features.h> since <getopt.h> is shared with other GNU programs.  We
> Mark> could include <stdio.h> from <getopt.h>.  I don't think that would
> Mark> cause any problems, since both getopt.c and getpt1.c already include
> Mark> <stdio.h>.
> Mark> 
> Mark> If there are serious objections against including <stdio.h>, we could
> Mark> also move the inclusion of <getopt.h> from rpcinfo.c further down or
> Mark> remove it altogether.
> 
> getopt.h is so far the only include file that gives trouble.  But it's 
> not only used in rpcinfo.c, the problems might exist in other files
> also (cf. my email with subject "-imacros").

include/fpu_control.h also uses __P but doesn't include <features.h>,
which causes sysdeps/generic/fpu_control.c to fail to compile with the
current CVS.

-- 
Geoffrey Keating <geoffk@ozemail.com.au>

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]