Windows is ostensibly posix-compliant, Ive just not bothered to add
the defs. The Windows posix subsystem ducks enough that there's
really little point.
Sent from my iPhone
On May 22, 2010, at 10:45 AM, Andrei Alexandrescu <[email protected]>
wrote:
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
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos
_______________________________________________
phobos mailing list
[email protected]
http://lists.puremagic.com/mailman/listinfo/phobos