getopt_longPortability problems fixed by Gnulib:
getopt_long does not obey the combination of
‘+’ and ‘:’ flags in the options string on some platforms:
glibc 2.11.
-W foo to behave synonymously with --foo:
glibc 2.11.
getopt_long does not support the ‘+’ flag in
the options string on some platforms:
Mac OS X 10.5, AIX 5.2, OSF/1 5.1, Solaris 10.
optind after a missing required argument is wrong
on some platforms:
Mac OS X 10.5.
getopt_long does not obey the ‘-’ flag in the
options string when POSIXLY_CORRECT is set on some platforms:
Cygwin 1.7.0.
optind is set to ‘0’:
NetBSD, Cygwin 1.7.0.
getopt_long does not support options with optional
arguments on some platforms:
Mac OS X 10.5, OpenBSD 4.0, AIX 5.2, IRIX 6.5, Solaris 11 2010-11, Cygwin 1.5.x.
W; but
there are no long options, on some platforms:
glibc 2.14.
Portability problems not fixed by Gnulib: