[phobos] Failure running unittests under Wine
Lars Tandle Kyllingstad
lars at kyllingen.net
Wed Jun 1 05:44:34 PDT 2011
When I run
make -f posix.mak OS=win32wine unittest
the compiler gives me a bunch of errors related to std.net.isemail (see
below). I have verified that I am compiling with the latest versions of
DMD and DMC. Building the ordinary Linux version works just fine, as
does the following:
wine cmd.exe
C:\...\phobos> make -f win32.mak unittest
Does anyone have a clue as to why this happens? Here are the error
messages I'm getting:
std\net\isemail.d(1702): Error: Integer constant expression expected
instead of "@"
std\net\isemail.d(1703): Error: Integer constant expression expected
instead of "\\"
std\net\isemail.d(1704): Error: Integer constant expression expected
instead of "."
std\net\isemail.d(1705): Error: Integer constant expression expected
instead of "\""
std\net\isemail.d(1706): Error: Integer constant expression expected
instead of "("
std\net\isemail.d(1707): Error: Integer constant expression expected
instead of ")"
std\net\isemail.d(1708): Error: Integer constant expression expected
instead of "["
std\net\isemail.d(1709): Error: Integer constant expression expected
instead of "]"
std\net\isemail.d(1710): Error: Integer constant expression expected
instead of "-"
std\net\isemail.d(1711): Error: Integer constant expression expected
instead of ":"
std\net\isemail.d(1712): Error: Integer constant expression expected
instead of "::"
std\net\isemail.d(1713): Error: Integer constant expression expected
instead of " "
std\net\isemail.d(1714): Error: Integer constant expression expected
instead of "\x09"
std\net\isemail.d(1715): Error: Integer constant expression expected
instead of "\x0d"
std\net\isemail.d(1716): Error: Integer constant expression expected
instead of "\x0a"
std\net\isemail.d(1717): Error: Integer constant expression expected
instead of "IPV6:"
std\net\isemail.d(1720): Error: Integer constant expression expected
instead of "()<>[]:;@\\\\,.\""
std\net\isemail.d(1702): Error: Integer constant expression expected
instead of "@"
std\net\isemail.d(1703): Error: Integer constant expression expected
instead of "\\"
std\net\isemail.d(1704): Error: Integer constant expression expected
instead of "."
std\net\isemail.d(1705): Error: Integer constant expression expected
instead of "\""
std\net\isemail.d(1706): Error: Integer constant expression expected
instead of "("
std\net\isemail.d(1707): Error: Integer constant expression expected
instead of ")"
std\net\isemail.d(1708): Error: Integer constant expression expected
instead of "["
std\net\isemail.d(1709): Error: Integer constant expression expected
instead of "]"
std\net\isemail.d(1710): Error: Integer constant expression expected
instead of "-"
std\net\isemail.d(1711): Error: Integer constant expression expected
instead of ":"
std\net\isemail.d(1712): Error: Integer constant expression expected
instead of "::"
std\net\isemail.d(1713): Error: Integer constant expression expected
instead of " "
std\net\isemail.d(1714): Error: Integer constant expression expected
instead of "\x09"
std\net\isemail.d(1715): Error: Integer constant expression expected
instead of "\x0d"
std\net\isemail.d(1716): Error: Integer constant expression expected
instead of "\x0a"
std\net\isemail.d(1717): Error: Integer constant expression expected
instead of "IPV6:"
std\net\isemail.d(1720): Error: Integer constant expression expected
instead of "()<>[]:;@\\\\,.\""
make[1]: *** [generated/win32wine/debug/32/phobos.lib] Error 1
make: *** [unittest] Error 2
-Lars
More information about the phobos
mailing list