This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


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

Re: groff: conflict with prototype arg name in getopt.h



I'm forwarding Bruce's answer (and including him in the Cc: list).

> > > argument name in getopt_long declaration in src/include/getopt.h
> > > conflicts with __argc macro in stdlib.h.  Argument names in
> > > prototyped declarations are superfluous; the type suffices.
> > 
> > I got the following response from Ulrich Drepper:
> > 
> >   That's crap.  We are not going to remove the parameter names.
> >   This is perfectly valid.

Bruce: getopt.h use of identifiers with two leading underscores
Bruce: (i.e. __argc) is a violation of ANSI/ISO 9899-1990 section 7.1.3
Bruce: which reserves all such identifiers.


    Werner


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