When trying to compile gnulib (from octave), it fails at compiling mbsinit.c. It seems this is due to the fact that on my system (MSVC) mbsinit is declared inlined in wchar.h. The configure script fails to detect the system mbsinit, because of link error, and the compiler fails to compile the replacement, because of duplicate body for the same function (the inlined one in wchar.h and the replacement one).
Can this problem be solved at gnulib level? Thanks, Michael.