> FWIW, the getopt version from 1998 needed the following patches to
> make in work in C++. Taken from GNU gperf. Maybe that might help
> you.
Thanks! Are these changes already incorporated into the current
getopt version of gnulib? Additionally I wonder about the differences
between glibc's
Werner LEMBERG cited Nelson Beebe:
> Builds with C++ compilers fail in compiling getopt.c; it is too bad
> that that simple file could not have been written more portably. It
> has been the cause of C++ build failures on several other packages.
>
> I'll analyze his failure reports
FWIW, the