bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: time_r module does not work on MingW


From: Bruno Haible
Subject: Re: time_r module does not work on MingW
Date: Tue, 12 Nov 2019 03:28:42 +0100
User-agent: KMail/5.1.3 (Linux/4.4.0-166-generic; KDE/5.18.0; x86_64; ; )

> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]