getopt.h vs java lossage

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Thu Sep 10 03:53:00 GMT 1998


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.



More information about the Gcc mailing list