Error by building druntime

2012-12-23 Thread Namespace
I tried to fork and build dmd, druntime and phobos. With dmd it works fine but if I try "make -f win32.mak" on druntime I get: [code] src\core\sys\windows\windows.d(81): Warning: else is dangling, add { } after con dition at src\core\sys\windows\windows.d(17) src\core\sys\windows\windows.d(164)

Re: Error by building druntime

2012-12-23 Thread Andrej Mitrovic
On 12/23/12, Namespace wrote: > Is that my fault? :o > Is there any official manual for building dmd, druntime and > phobos? > You're probably building druntime 2.061 with dmd 2.060. First you need to build dmd git-head, then druntime (*with* the newly built DMD), then phobos. There are some guid

Re: Error by building druntime

2012-12-23 Thread Jonathan M Davis
On Sunday, December 23, 2012 23:53:16 Namespace wrote: > I tried to fork and build dmd, druntime and phobos. With dmd it > works fine but if I try "make -f win32.mak" on druntime I get: > [code] > src\core\sys\windows\windows.d(81): Warning: else is dangling, > add { } after con > dition at src\cor

Re: Error by building druntime

2012-12-23 Thread Namespace
On Sunday, 23 December 2012 at 23:01:37 UTC, Andrej Mitrovic wrote: On 12/23/12, Namespace wrote: Is that my fault? :o Is there any official manual for building dmd, druntime and phobos? You're probably building druntime 2.061 with dmd 2.060. First you need to build dmd git-head, then drunt

Re: Error by building druntime

2012-12-24 Thread Dmitry Olshansky
12/24/2012 3:33 AM, Namespace пишет: On Sunday, 23 December 2012 at 23:01:37 UTC, Andrej Mitrovic wrote: On 12/23/12, Namespace wrote: Is that my fault? :o Is there any official manual for building dmd, druntime and phobos? You're probably building druntime 2.061 with dmd 2.060. First you n

Re: Error by building druntime

2012-12-24 Thread bearophile
Dmitry Olshansky: make -fwin32.mak release I think there's a space between -f and win32. Bye, bearophile

Re: Error by building druntime

2012-12-24 Thread Jonathan M Davis
On Monday, December 24, 2012 09:38:43 bearophile wrote: > Dmitry Olshansky: > > make -fwin32.mak release > > I think there's a space between -f and win32. There's a good chance that it doesn't matter one way or the other. - Jonathan M Davis

Re: Error by building druntime

2012-12-24 Thread monarch_dodra
On Sunday, 23 December 2012 at 23:33:34 UTC, Namespace wrote: On Sunday, 23 December 2012 at 23:01:37 UTC, Andrej Mitrovic wrote: On 12/23/12, Namespace wrote: Is that my fault? :o Is there any official manual for building dmd, druntime and phobos? You're probably building druntime 2.061 wi

Re: Error by building druntime

2013-01-01 Thread Namespace
make -fwin32.mak release So release is a make target. Then I get: D:\D\dmd2\src\dmd>make -fwin32.mak release make -fwin32.mak C=backend TK=tk ROOT=root clean del *.obj del total.sym del msgs.h msgs.c del elxxx.c cdxxx.c optab.c debtab.c fltables.c tytab.c del impcnvtab.c cd cppunit-1.12.1\src\

Re: Error by building druntime

2013-01-01 Thread monarch_dodra
On Tuesday, 1 January 2013 at 14:45:09 UTC, Namespace wrote: make -fwin32.mak release So release is a make target. Then I get: D:\D\dmd2\src\dmd>make -fwin32.mak release Strange... wind32.mak is supposed to be inside "somepath"/dmd/src, but you are calling it from "somepath"/dmd. Did you

Re: Error by building druntime

2013-01-01 Thread Namespace
The path is D:\D\dmd2\src\dmd, there is the make file. But I did not move anything. I'm using windows.

Re: Error by building druntime

2013-01-01 Thread Jonathan M Davis
On Tuesday, January 01, 2013 23:10:15 Namespace wrote: > The path is D:\D\dmd2\src\dmd, there is the make file. > But I did not move anything. I'm using windows. It looks like you're trying to build dmd from where it's installed rather from the repo. I have no idea if that even works. AFAIK, no o

Re: Error by building druntime

2013-01-02 Thread monarch_dodra
On Wednesday, 2 January 2013 at 00:20:55 UTC, Jonathan M Davis wrote: On Tuesday, January 01, 2013 23:10:15 Namespace wrote: The path is D:\D\dmd2\src\dmd, there is the make file. But I did not move anything. I'm using windows. It looks like you're trying to build dmd from where it's installe

Re: Error by building druntime

2013-01-22 Thread Namespace
Hey, me again. I cloned dmd from git head and try to build it with: make -fwin32.mak release But I get these errors: dmc -c -Ibackend;tk -DMARS -cpp -D -g -DUNITTEST -e -wx -DDM_TARGET_CPU_X86=1 - I. backend\cgelem elerr, ^ elxxx.c(3) : Error: need explicit cast to conve

Re: Error by building druntime

2013-01-22 Thread Namespace
Hm, has really no one an idea what's wrong? I'm followed strict the steps that are described in the wiki.

Re: Error by building druntime

2013-01-22 Thread monarch_dodra
On Tuesday, 22 January 2013 at 14:56:16 UTC, Namespace wrote: Hm, has really no one an idea what's wrong? I'm followed strict the steps that are described in the wiki. Do you have the latest github dmd? Could just be that you pulled the code at the exact moment it wasn't compiling.

Re: Error by building druntime

2013-01-22 Thread Namespace
On Tuesday, 22 January 2013 at 14:58:50 UTC, monarch_dodra wrote: On Tuesday, 22 January 2013 at 14:56:16 UTC, Namespace wrote: Hm, has really no one an idea what's wrong? I'm followed strict the steps that are described in the wiki. Do you have the latest github dmd? Could just be that you p

Re: Error by building druntime

2013-01-22 Thread Namespace
On Tuesday, 22 January 2013 at 15:10:14 UTC, Namespace wrote: On Tuesday, 22 January 2013 at 14:58:50 UTC, monarch_dodra wrote: On Tuesday, 22 January 2013 at 14:56:16 UTC, Namespace wrote: Hm, has really no one an idea what's wrong? I'm followed strict the steps that are described in the wiki.

Re: Error by building druntime

2013-01-22 Thread Namespace
Maybe I should describe _exactly_ what I did to earn help. I make a new directory with: mkdir d then I wrote git clone git://github.com/D-Programming-Language/dmd.git git clone git://github.com/D-Programming-Language/druntime.git git clone git://github.com/D-Programming-Language/phobos.git dir and

Re: Error by building druntime

2013-01-22 Thread monarch_dodra
On Tuesday, 22 January 2013 at 20:47:46 UTC, Namespace wrote: So what is wrong now? A few days ago it works fine. I don't understand that. :/ Strange. That's what I do (verbatim), so it should work. Which "make" is being called? What is your DMC? Could you try it with *only* "X/dm/bin" in y

Re: Error by building druntime

2013-01-22 Thread monarch_dodra
No idea. Just updated my own dmd sources. I rebuilt it fine with both dmc 852c and 856c, in both release non-release :/

Re: Error by building druntime

2013-01-22 Thread Namespace
On Tuesday, 22 January 2013 at 21:35:48 UTC, Namespace wrote: dmc prints before Digital Mars Compiler Version 8.42n and also after I replaced it with your version. Have I forget something? And still the same error. That weird. oO Ah, I forgot, sorry. I'm using: Digital Mars Make Version 5.06

Re: Error by building druntime

2013-01-22 Thread Namespace
dmc prints before Digital Mars Compiler Version 8.42n and also after I replaced it with your version. Have I forget something? And still the same error. That weird. oO

Re: Error by building druntime

2013-01-22 Thread Namespace
In my distress I have now tried with dmd_msc_vs10. I get no such error but others: 1>cl : Befehlszeile warning D9025: "/TC" wird durch "/TP" überschrieben 1>mars.c(905): warning C4805: '!=': unsichere Kombination von Typ 'char' mit Typ 'bool' in einer Operation 1>c1xx : fatal error C1083: Datei

Re: Error by building druntime

2013-01-22 Thread Namespace
On Tuesday, 22 January 2013 at 22:15:13 UTC, Namespace wrote: In my distress I have now tried with dmd_msc_vs10. I get no such error but others: 1>cl : Befehlszeile warning D9025: "/TC" wird durch "/TP" überschrieben 1>mars.c(905): warning C4805: '!=': unsichere Kombination von Typ 'char' mit