This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: getopt.h vs java lossage
- To: law at cygnus dot com
- Subject: Re: getopt.h vs java lossage
- From: Andreas Schwab <schwab at issan dot informatik dot uni-dortmund dot de>
- Date: 10 Sep 1998 11:03:12 +0200
- Cc: egcs at cygnus dot com, drepper at cygnus dot com
- References: <11681.905397682@hurl.cygnus.com>
Jeffrey A Law <law@cygnus.com> writes:
|> (unless someone can point to ISO or ANSI specs which allow getopt.h
|> to provide no_argument, required_argument and optional_argument as
|> #defines (or via any other mechanism).
getopt.h is not part of ISO, and not even POSIX (it has getopt in
unistd.h). It is a GNU extension and thus can define its own namespace.
Andreas.