Hi!

For OATH Toolkit, I bumped gnulib to stable-202607
3d3f20e949413f1ebade541e43495ba32ad68516 and got the build error below,
any ideas?

Do we need to back-port 0f83f0223badbbd228da9d15b7cb7937d866ad5a?  It
seems to change stricmp into _wcsnicmp.

/Simon

https://gitlab.com/oath-toolkit/oath-toolkit/-/jobs/17096635832#L4470

stat-w32.c: In function '_gl_fstat_by_handle':
stat-w32.c:293:27: error: too many arguments to function '_stricmp'
  293 |                       if (_stricmp (suffix, "exe", 3) == 0
      |                           ^~~~~~~~
In file included from ./string.h:41,
                 from /usr/share/mingw-w64/include/io.h:10,
                 from /usr/share/mingw-w64/include/sys/stat.h:14,
                 from ./sys/stat.h:54,
                 from stat-w32.c:42:
/usr/share/mingw-w64/include/string.h:69:23: note: declared here
   69 |   _CRTIMP int __cdecl _stricmp(const char *_Str1,const char *_Str2);
      |                       ^~~~~~~~
stat-w32.c:294:30: error: too many arguments to function '_stricmp'
  294 |                           || _stricmp (suffix, "bat", 3) == 0
      |                              ^~~~~~~~
/usr/share/mingw-w64/include/string.h:69:23: note: declared here
   69 |   _CRTIMP int __cdecl _stricmp(const char *_Str1,const char *_Str2);
      |                       ^~~~~~~~
stat-w32.c:295:30: error: too many arguments to function '_stricmp'
  295 |                           || _stricmp (suffix, "cmd", 3) == 0
      |                              ^~~~~~~~
/usr/share/mingw-w64/include/string.h:69:23: note: declared here
   69 |   _CRTIMP int __cdecl _stricmp(const char *_Str1,const char *_Str2);
      |                       ^~~~~~~~
stat-w32.c:296:30: error: too many arguments to function '_stricmp'
  296 |                           || _stricmp (suffix, "com", 3) == 0)
      |                              ^~~~~~~~
/usr/share/mingw-w64/include/string.h:69:23: note: declared here
   69 |   _CRTIMP int __cdecl _stricmp(const char *_Str1,const char *_Str2);
      |                       ^~~~~~~~
make[4]: *** [Makefile:3225: libgnu_la-stat-w32.lo] Error 1
make[4]: *** Waiting for unfinished jobs....

Attachment: signature.asc
Description: PGP signature

Reply via email to