Re: getopt link error on MSVC

2016-12-18 Thread Bruno Haible
I did: > +/* POSIX and glibc provide the getopt() function in , see > + http://pubs.opengroup.org/onlinepubs/9699919799/functions/getopt.html > + https://www.gnu.org/software/libc/manual/html_node/Using-Getopt.html > + But gnulib provides the getopt() function in , not in > . > + Neverthel

getopt link error on MSVC

2016-12-18 Thread Bruno Haible
I see the following test link failure on MSVC, from a use of the 'getopt-posix' module: /home/bruno/msvc/compile cl -nologo -DHAVE_CONFIG_H -DEXEEXT=\".exe\" -I. -I../../gltests -I.. -DGNULIB_STRICT_CHECKING=1 -DIN_GNULIB_TESTS=1 -I. -I../../gltests -I.. -I../../gltests/.. -I../gllib -I../../gl