This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: groff: conflict with prototype arg name in getopt.h
Andreas Jaeger wrote:
>
> Bruce Lilly <blilly@erols.com> writes:
>
> > Ulrich Drepper wrote:
> > >
> > > Werner LEMBERG <wl@gnu.org> writes:
> > >
> > > > I'm forwarding Bruce's answer (and including him in the Cc: list).
> > >
> > > It's a system header for us and we can do all that.
> > >
> > > --
> > > ---------------. ,-. 1325 Chesapeake Terrace
> > > Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
> > > Red Hat `--' drepper at redhat.com `------------------------
> >
> > getopt.h is not a standard header as defined in ANSI/ISO 9899-1990 section 7.1.2.
> > stdlib.h is.
>
> getopt is part of POSIX.2 and therefore a "system header",
>
> Andreas
> --
> Andreas Jaeger
> SuSE Labs aj@suse.de
> private aj@arthur.inka.de
> http://www.suse.de/~aj
Ah, but the problem is introduced by the extraneous argument name (with two leading
underscores) in the declaration of getopt_long, which is non-standard.
Best regards,
Bruce Lilly