On Saturday, 16 December 2017 at 12:01:49 UTC, Steven
Schveighoffer wrote:
On 12/16/17 5:12 AM, bauss wrote:
On Saturday, 16 December 2017 at 08:07:30 UTC, Szabo Bogdan
wrote:
On Friday, 15 December 2017 at 21:56:48 UTC, Steven
Schveighoffer wrote:
On 12/15/17 10:08 AM, Kagamin wrote:
Maybe this https://issues.dlang.org/show_bug.cgi?id=18084
Thanks for looking into this. I created a PR to fix.
Szabo, can you please try with this patch and see if it
fixes your issue?
https://github.com/dlang/phobos/pull/5932
-Steve
I have installed DMD 2.77.1 and I can not find the patched
file in the phobos folder... should I try this by building
the compiler?
It seams that I can not build phobos without compiling dmd..
or maybe I don't know how...
Just go and do the changes manually in your local phobos
folder, wherever you have DMD installed, since you can't build
phobos or dmd.
Yes, this won't get into the release for a while. So please do
this manually (just copy the file changed by the pull over the
existing one).
It's something that doesn't need to be compiled into the phobos
library, as it's a misrepresentation of the actual object when
you compile with unittests, so there is no reason to recompile
phobos.
-Steve
I'm actually a linux and a mac user... this issue happens on a
windows ci machine at work. I tried to update the file and
compile phobos with that change, and I don't know how to make it
work...
`
C:\D\dmd2\src\phobos>make -f win64.mak
cd etc\c\zlib
make -f win64.mak MODEL=64 zlib64.lib "CC=\"\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\bin\amd64\cl""\""
"LIB=\"\Program Files (x86)\Microsoft Visual Studio
10.0\VC\bin\amd64\lib""\"" "VCDIR=\Program Files (x86)\Microsoft
Visual Studio 10.0\VC"
"\Program Files (x86)\Microsoft Visual Studio
10.0\VC\bin\amd64\cl" /c /O2 /nologo /I"\Program Files
(x86)\Microsoft Visual Studio 10.0\VC\INCLUDE" /Zl adler32.c
Error: '\Program Files (x86)\Microsoft Visual Studio
10.0\VC\bin\amd64\cl' not found
`
I don't know where I can find a 64bit toolchain for vs2010... I
was expecting that dmd uses a newer compiler on windows...
I guess that the best approach for me is to wait the next beta
release of dmd and try it then...
Thanks for the support!