[phobos] Bug somewhere in core.posix.sys.time
Andrei Alexandrescu
andrei at erdani.com
Sat May 22 10:45:38 PDT 2010
I tried to build the HTML documentation with
make html
and got:
wine dmd -version=ddoc -d -c -o- ../docsrc/std.ddoc
-Df../web/2.0/phobos/std_gregorian.html std/gregorian.d
Z:\home\andrei\dmd2\windows\bin\..\..\src\druntime\import\core\sys\posix\signal.d(25):
Error: identifier 'siginfo_t' is not defined
Z:\home\andrei\dmd2\windows\bin\..\..\src\druntime\import\core\sys\posix\signal.d(25):
Error: siginfo_t is used as a type
Z:\home\andrei\dmd2\windows\bin\..\..\src\druntime\import\core\sys\posix\signal.d(195):
Error: identifier 'sigset_t' is not defined
Z:\home\andrei\dmd2\windows\bin\..\..\src\druntime\import\core\sys\posix\signal.d(195):
Error: sigset_t is used as a type
Z:\home\andrei\dmd2\windows\bin\..\..\src\druntime\import\core\sys\posix\signal.d(195):
Error: variable core.sys.posix.signal.sigaction_t.sa_mask voids have no
value
make: *** [../web/2.0/phobos/std_gregorian.html] Error 1
I reduced the problem down to this definition of std.gregorian (which is
the culprit):
module std.gregorian;
import core.sys.posix.time;
So the problem is core.sys.posix.time. Since that contains "posix" in
its name, does that imply it's not working on Windows? If so, you may
want to insert a pragma error on version windows that leaves a nice
error message behind.
Is that possible?
Andrei
More information about the phobos
mailing list