This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


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

Re: getopt.h vs java lossage


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.


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