> Here is the testcase: > #include "build-gnulib-gdbserver/config.h" > #include "pathmax.h" > #include "time.h" > > x86_64-w64-mingw32-g++ test.cc -I build-gnulib-gdbserver/import/ -I > ~/binutils-gdb/gnulib/import/ > > It turns out that the pathmax.h include is required for this to fail. > Alternatively, including just unistd.h before time.h will fail. Error: > https://pastebin.com/Vp8LUqaQ > > The enabled gnulib modules are: > IMPORTED_GNULIB_MODULES="\ ...
Thanks. I reproduce it. Will investigate. Bruno