Re: Release Candidate D 2.067.0-rc1

2015-03-24 Thread Steven Schveighoffer via Digitalmars-d-announce

On 3/24/15 7:48 AM, Szymon Gatner wrote:

On Tuesday, 24 March 2015 at 00:26:13 UTC, Daniel Murphy wrote:

Szymon Gatner  wrote in message
news:oofoormyfxkefokvk...@forum.dlang.org...


i really try not to be whiny about it but it is sooo frustrating. d
advertises itself as easy to integrate with c/c++ and maybe in theory
it is but in practice it is not true at all. simplest example from
Adam's book I followed crashed miserable so I can only assume that
-nobody- is mixing c++ with d on Win.


DDMD is mixing D and C++ on all the autotester platforms.  It's not
that simple, but it should be possible.


Honestly, I am not willing to try even less mature compiler (last month
it was finished?) to try the feature that does not work in the reference
one.

Don't get me wrong, we do want to be early adopters, but there is
nothing to adopt yet.


I think you misunderstand. Daniel is citing DDMD project as an example 
of C++ and D working together. The output from DDMD should be identical 
to DMD, so it's not anything new on that side.


-Steve


Re: Release Candidate D 2.067.0-rc1

2015-03-24 Thread csmith1991 via Digitalmars-d-announce

On Tuesday, 24 March 2015 at 11:48:48 UTC, Szymon Gatner wrote:

On Tuesday, 24 March 2015 at 00:26:13 UTC, Daniel Murphy wrote:
Szymon Gatner  wrote in message 
news:oofoormyfxkefokvk...@forum.dlang.org...


i really try not to be whiny about it but it is sooo 
frustrating. d advertises itself as easy to integrate with 
c/c++ and maybe in theory it is but in practice it is not 
true at all. simplest example from Adam's book I followed 
crashed miserable so I can only assume that -nobody- is 
mixing c++ with d on Win.


DDMD is mixing D and C++ on all the autotester platforms.  
It's not that simple, but it should be possible.


Honestly, I am not willing to try even less mature compiler 
(last month it was finished?) to try the feature that does not 
work in the reference one.


Don't get me wrong, we do want to be early adopters, but there 
is nothing to adopt yet.


So, Adam's book worked pretty well for me. What specific issues
are you having?

I remember asking StackOverflow about one particular issue I was
having getting functions to work with SAS, and Adam responded in
half an hour. Before that though, I already had the answer to the
question. Perhaps the question might help you:
http://stackoverflow.com/questions/25868600/could-a-d-dll-work-within-sas


Re: Release Candidate D 2.067.0-rc1

2015-03-24 Thread Szymon Gatner via Digitalmars-d-announce

On Tuesday, 24 March 2015 at 00:26:13 UTC, Daniel Murphy wrote:
Szymon Gatner  wrote in message 
news:oofoormyfxkefokvk...@forum.dlang.org...


i really try not to be whiny about it but it is sooo 
frustrating. d advertises itself as easy to integrate with 
c/c++ and maybe in theory it is but in practice it is not true 
at all. simplest example from Adam's book I followed crashed 
miserable so I can only assume that -nobody- is mixing c++ 
with d on Win.


DDMD is mixing D and C++ on all the autotester platforms.  It's 
not that simple, but it should be possible.


Honestly, I am not willing to try even less mature compiler (last 
month it was finished?) to try the feature that does not work in 
the reference one.


Don't get me wrong, we do want to be early adopters, but there is 
nothing to adopt yet.


Re: Release Candidate D 2.067.0-rc1

2015-03-24 Thread Martin Nowak via Digitalmars-d-announce
On 03/24/2015 12:59 PM, Szymon Gatner wrote:
 From the changelog I don't understand what improvements have been made
 to D to increase C++ interop but that is not so important to us now.

Yes, that's really lame. We need to convince Daniel to write changelog
entries.
There is another nice fix that isn't mentioned yet
(https://github.com/D-Programming-Language/dmd/pull/3855).


Re: Release Candidate D 2.067.0-rc1

2015-03-24 Thread Szymon Gatner via Digitalmars-d-announce

On Tuesday, 24 March 2015 at 11:59:19 UTC, Szymon Gatner wrote:
On Tuesday, 24 March 2015 at 11:52:51 UTC, Steven Schveighoffer 
wrote:

On 3/24/15 7:48 AM, Szymon Gatner wrote:
On Tuesday, 24 March 2015 at 00:26:13 UTC, Daniel Murphy 
wrote:

Szymon Gatner  wrote in message
news:oofoormyfxkefokvk...@forum.dlang.org...

i really try not to be whiny about it but it is sooo 
frustrating. d
advertises itself as easy to integrate with c/c++ and maybe 
in theory
it is but in practice it is not true at all. simplest 
example from
Adam's book I followed crashed miserable so I can only 
assume that

-nobody- is mixing c++ with d on Win.


DDMD is mixing D and C++ on all the autotester platforms.  
It's not

that simple, but it should be possible.


Honestly, I am not willing to try even less mature compiler 
(last month
it was finished?) to try the feature that does not work in 
the reference

one.

Don't get me wrong, we do want to be early adopters, but 
there is

nothing to adopt yet.


I think you misunderstand. Daniel is citing DDMD project as an 
example of C++ and D working together. The output from DDMD 
should be identical to DMD, so it's not anything new on that 
side.


-Steve


Ah, OK. Well, I will try mixing again after 2.067 is released 
and report back. From the changelog I don't understand what 
improvements have been made to D to increase C++ interop but 
that is not so important to us now.


Btw, who is responsible for D output for SWIG?


I tried with 2.067 and bug persists. Filled a bug report [1]

[1] https://issues.dlang.org/show_bug.cgi?id=14327


Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Szymon Gatner via Digitalmars-d-announce

On Friday, 20 March 2015 at 15:19:03 UTC, Martin Nowak wrote:

On 03/19/2015 08:02 AM, Rainer Schuetze wrote:
The COFF32 lib is built through win64.mak. This is an excerpt 
from my

build script to create lib32\phobos32mscoff.lib:

set dm_make=c:\l\dmc\bin\make
set vs=vs12
set vcdir=c:\l\%vs%\vc
set cl32=%vcdir%/bin/cl.exe
set ar32=%vcdir%/bin/lib.exe
set MSLINK=%vcdir%\bin\link.exe
set lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib
set sdkdir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A

set LINKCMD=%MSLINK%
set LIB=%LIB32COFF%
set ARGS=DMD=%DMD% MAKE=%dm_make% CC=\%cl32%\ 
AR=\%ar32%\

VCDIR=%vcdir% SDKDIR=%sdkdir%

cd druntime
%dm_make% -f win64.mak MODEL=32mscoff %ARGS% target
if errorlevel 1 goto xit
cd ..

cd phobos
%dm_make% -f win64.mak MODEL=32mscoff %ARGS%
LIB=..\lib32\phobos32mscoff.lib
if errorlevel 1 goto xit
cd ..


It's seriously too late, unless someone else steps up and does 
it. I'd
need to change the build script to clean and build another 
Windows

target, and my time is bound to regression fixing.



Been waiting for this for almost 2 years, might as well wait for 
another release. Seriously tho, it is surprising how much little 
attention is put into C++/D integration considering all the 
recent fuss about this. And yes, I've tried mixed C++/D app on 
x64 Win, it crashes with simple writeln() call.




Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Ben Boeckel via Digitalmars-d-announce
On Mon, Mar 23, 2015 at 13:49:53 +, Szymon Gatner via 
Digitalmars-d-announce wrote:
 Been waiting for this for almost 2 years, might as well wait for 
 another release. Seriously tho, it is surprising how much little 
 attention is put into C++/D integration considering all the 
 recent fuss about this. And yes, I've tried mixed C++/D app on 
 x64 Win, it crashes with simple writeln() call.

At least you get that far; Android doesn't even get there (though those
patches to even let people get toolchains up and running are only
around a year old).

--Ben


Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Szymon Gatner via Digitalmars-d-announce

On Monday, 23 March 2015 at 14:19:34 UTC, Ben Boeckel wrote:
On Mon, Mar 23, 2015 at 13:49:53 +, Szymon Gatner via 
Digitalmars-d-announce wrote:
Been waiting for this for almost 2 years, might as well wait 
for another release. Seriously tho, it is surprising how much 
little attention is put into C++/D integration considering all 
the recent fuss about this. And yes, I've tried mixed C++/D 
app on x64 Win, it crashes with simple writeln() call.


At least you get that far; Android doesn't even get there 
(though those
patches to even let people get toolchains up and running are 
only

around a year old).

--Ben


i really try not to be whiny about it but it is sooo frustrating. 
d advertises itself as easy to integrate with c/c++ and maybe in 
theory it is but in practice it is not true at all. simplest 
example from Adam's book I followed crashed miserable so I can 
only assume that -nobody- is mixing c++ with d on Win. I need it 
working on win so we can even start to think about using D for 
our projects but indeed iOS and Android is very next




Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Martin Nowak via Digitalmars-d-announce
On 03/23/2015 02:49 PM, Szymon Gatner wrote:
 Been waiting for this for almost 2 years, might as well wait for another
 release. Seriously tho, it is surprising how much little attention is
 put into C++/D integration considering all the recent fuss about this.
 And yes, I've tried mixed C++/D app on x64 Win, it crashes with simple
 writeln() call.

As a matter of fact we only have few Windows developers, so unless
someone with interest in this platform steps up it will hardly improve.
Daniel Murphy did a lot of D/C++ integration to get ddmd to work, and
apparently, that also works on Windows, so you might ask him for details.
https://auto-tester.puremagic.com/?projectid=10


Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread John Colvin via Digitalmars-d-announce

On Monday, 23 March 2015 at 13:49:55 UTC, Szymon Gatner wrote:

On Friday, 20 March 2015 at 15:19:03 UTC, Martin Nowak wrote:

On 03/19/2015 08:02 AM, Rainer Schuetze wrote:
The COFF32 lib is built through win64.mak. This is an excerpt 
from my

build script to create lib32\phobos32mscoff.lib:

set dm_make=c:\l\dmc\bin\make
set vs=vs12
set vcdir=c:\l\%vs%\vc
set cl32=%vcdir%/bin/cl.exe
set ar32=%vcdir%/bin/lib.exe
set MSLINK=%vcdir%\bin\link.exe
set lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib
set sdkdir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A

set LINKCMD=%MSLINK%
set LIB=%LIB32COFF%
set ARGS=DMD=%DMD% MAKE=%dm_make% CC=\%cl32%\ 
AR=\%ar32%\

VCDIR=%vcdir% SDKDIR=%sdkdir%

cd druntime
%dm_make% -f win64.mak MODEL=32mscoff %ARGS% target
if errorlevel 1 goto xit
cd ..

cd phobos
%dm_make% -f win64.mak MODEL=32mscoff %ARGS%
LIB=..\lib32\phobos32mscoff.lib
if errorlevel 1 goto xit
cd ..


It's seriously too late, unless someone else steps up and does 
it. I'd
need to change the build script to clean and build another 
Windows

target, and my time is bound to regression fixing.



Been waiting for this for almost 2 years, might as well wait 
for another release. Seriously tho, it is surprising how much 
little attention is put into C++/D integration considering all 
the recent fuss about this. And yes, I've tried mixed C++/D app 
on x64 Win, it crashes with simple writeln() call.


bug report?


Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Szymon Gatner via Digitalmars-d-announce

On Monday, 23 March 2015 at 15:36:42 UTC, Martin Nowak wrote:

On 03/23/2015 02:49 PM, Szymon Gatner wrote:
Been waiting for this for almost 2 years, might as well wait 
for another
release. Seriously tho, it is surprising how much little 
attention is
put into C++/D integration considering all the recent fuss 
about this.
And yes, I've tried mixed C++/D app on x64 Win, it crashes 
with simple

writeln() call.


As a matter of fact we only have few Windows developers, so 
unless
someone with interest in this platform steps up it will hardly 
improve.
Daniel Murphy did a lot of D/C++ integration to get ddmd to 
work, and
apparently, that also works on Windows, so you might ask him 
for details.

https://auto-tester.puremagic.com/?projectid=10


sure I could bug individuals to make things work for me, then 
discover another problem rinse and repeat. thing is i dont want 
things to somehow work (possibly only until next release that 
will breake it) I want to know that this is something that is 
cared about and can be considered mature (and i am looking for 
the weakest definition of mature possible)




Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Szymon Gatner via Digitalmars-d-announce

On Monday, 23 March 2015 at 16:01:51 UTC, John Colvin wrote:

On Monday, 23 March 2015 at 13:49:55 UTC, Szymon Gatner wrote:

On Friday, 20 March 2015 at 15:19:03 UTC, Martin Nowak wrote:

On 03/19/2015 08:02 AM, Rainer Schuetze wrote:
The COFF32 lib is built through win64.mak. This is an 
excerpt from my

build script to create lib32\phobos32mscoff.lib:

set dm_make=c:\l\dmc\bin\make
set vs=vs12
set vcdir=c:\l\%vs%\vc
set cl32=%vcdir%/bin/cl.exe
set ar32=%vcdir%/bin/lib.exe
set MSLINK=%vcdir%\bin\link.exe
set 
lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib
set sdkdir=c:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.1A


set LINKCMD=%MSLINK%
set LIB=%LIB32COFF%
set ARGS=DMD=%DMD% MAKE=%dm_make% CC=\%cl32%\ 
AR=\%ar32%\

VCDIR=%vcdir% SDKDIR=%sdkdir%

cd druntime
%dm_make% -f win64.mak MODEL=32mscoff %ARGS% target
if errorlevel 1 goto xit
cd ..

cd phobos
%dm_make% -f win64.mak MODEL=32mscoff %ARGS%
LIB=..\lib32\phobos32mscoff.lib
if errorlevel 1 goto xit
cd ..


It's seriously too late, unless someone else steps up and 
does it. I'd
need to change the build script to clean and build another 
Windows

target, and my time is bound to regression fixing.



Been waiting for this for almost 2 years, might as well wait 
for another release. Seriously tho, it is surprising how much 
little attention is put into C++/D integration considering all 
the recent fuss about this. And yes, I've tried mixed C++/D 
app on x64 Win, it crashes with simple writeln() call.


bug report?



i am typing from my phone so hard to find but i did post it on 
forums some time ago


Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Kapps via Digitalmars-d-announce

On Monday, 23 March 2015 at 16:05:55 UTC, Szymon Gatner wrote:



i am typing from my phone so hard to find but i did post it on 
forums some time ago


Posting about something on the forums won't get it fixed, make a 
bug report if you're encountering a bug.


Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Szymon Gatner via Digitalmars-d-announce

On Monday, 23 March 2015 at 16:05:55 UTC, Szymon Gatner wrote:

On Monday, 23 March 2015 at 16:01:51 UTC, John Colvin wrote:

On Monday, 23 March 2015 at 13:49:55 UTC, Szymon Gatner wrote:

On Friday, 20 March 2015 at 15:19:03 UTC, Martin Nowak wrote:

On 03/19/2015 08:02 AM, Rainer Schuetze wrote:
The COFF32 lib is built through win64.mak. This is an 
excerpt from my

build script to create lib32\phobos32mscoff.lib:

set dm_make=c:\l\dmc\bin\make
set vs=vs12
set vcdir=c:\l\%vs%\vc
set cl32=%vcdir%/bin/cl.exe
set ar32=%vcdir%/bin/lib.exe
set MSLINK=%vcdir%\bin\link.exe
set 
lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib
set sdkdir=c:\Program Files (x86)\Microsoft 
SDKs\Windows\v7.1A


set LINKCMD=%MSLINK%
set LIB=%LIB32COFF%
set ARGS=DMD=%DMD% MAKE=%dm_make% CC=\%cl32%\ 
AR=\%ar32%\

VCDIR=%vcdir% SDKDIR=%sdkdir%

cd druntime
%dm_make% -f win64.mak MODEL=32mscoff %ARGS% target
if errorlevel 1 goto xit
cd ..

cd phobos
%dm_make% -f win64.mak MODEL=32mscoff %ARGS%
LIB=..\lib32\phobos32mscoff.lib
if errorlevel 1 goto xit
cd ..


It's seriously too late, unless someone else steps up and 
does it. I'd
need to change the build script to clean and build another 
Windows

target, and my time is bound to regression fixing.



Been waiting for this for almost 2 years, might as well wait 
for another release. Seriously tho, it is surprising how much 
little attention is put into C++/D integration considering 
all the recent fuss about this. And yes, I've tried mixed 
C++/D app on x64 Win, it crashes with simple writeln() call.


bug report?



i am typing from my phone so hard to find but i did post it on 
forums some time ago


here:
http://forum.dlang.org/thread/hsglkscatlniiuacp...@forum.dlang.org#post-mailman.397.1409844359.5783.digitalmars-d-learn:40puremagic.com



Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Szymon Gatner via Digitalmars-d-announce


On Monday, 23 March 2015 at 16:11:12 UTC, Kapps wrote:

On Monday, 23 March 2015 at 16:05:55 UTC, Szymon Gatner wrote:



i am typing from my phone so hard to find but i did post it on 
forums some time ago


Posting about something on the forums won't get it fixed, make 
a bug report if you're encountering a bug.


i posted it on forums because i wasnt sure if it was indeed a bug 
or just me. also it is hard to provide minimal app when mixing 
code and under msvc as potentially full project is needed. i do 
get your point tho




Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Daniel Murphy via Digitalmars-d-announce
Szymon Gatner  wrote in message 
news:oofoormyfxkefokvk...@forum.dlang.org...


i really try not to be whiny about it but it is sooo frustrating. d 
advertises itself as easy to integrate with c/c++ and maybe in theory it 
is but in practice it is not true at all. simplest example from Adam's 
book I followed crashed miserable so I can only assume that -nobody- is 
mixing c++ with d on Win.


DDMD is mixing D and C++ on all the autotester platforms.  It's not that 
simple, but it should be possible. 



Re: Release Candidate D 2.067.0-rc1

2015-03-23 Thread Daniel Murphy via Digitalmars-d-announce
Szymon Gatner  wrote in message 
news:tthkrzwwobmdzbufe...@forum.dlang.org...


sure I could bug individuals to make things work for me, then discover 
another problem rinse and repeat. thing is i dont want things to somehow 
work (possibly only until next release that will breake it) I want to know 
that this is something that is cared about and can be considered mature 
(and i am looking for the weakest definition of mature possible)


The only way bugs will get fixed is if you file them.  D/C++ interop is 
definitely _not_ mature, but it is cared about.


eg This release will fix most of the issues with using variadic functions 
across the D/C++ boundary. 



Re: Release Candidate D 2.067.0-rc1

2015-03-20 Thread Daniel Murphy via Digitalmars-d-announce
Rainer Schuetze  wrote in message news:mehkf1$21k2$1...@digitalmars.com... 

I think we should not do it for the dmd 2.067 release. It would be good 
to have it integrated into the test infrastructure before adding it to 
the release.


I think that needs to be a hard requirement.


Re: Release Candidate D 2.067.0-rc1

2015-03-20 Thread Martin Nowak via Digitalmars-d-announce
On 03/19/2015 08:02 AM, Rainer Schuetze wrote:
 The COFF32 lib is built through win64.mak. This is an excerpt from my
 build script to create lib32\phobos32mscoff.lib:
 
 set dm_make=c:\l\dmc\bin\make
 set vs=vs12
 set vcdir=c:\l\%vs%\vc
 set cl32=%vcdir%/bin/cl.exe
 set ar32=%vcdir%/bin/lib.exe
 set MSLINK=%vcdir%\bin\link.exe
 set lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib
 set sdkdir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A
 
 set LINKCMD=%MSLINK%
 set LIB=%LIB32COFF%
 set ARGS=DMD=%DMD% MAKE=%dm_make% CC=\%cl32%\ AR=\%ar32%\
 VCDIR=%vcdir% SDKDIR=%sdkdir%
 
 cd druntime
 %dm_make% -f win64.mak MODEL=32mscoff %ARGS% target
 if errorlevel 1 goto xit
 cd ..
 
 cd phobos
 %dm_make% -f win64.mak MODEL=32mscoff %ARGS%
 LIB=..\lib32\phobos32mscoff.lib
 if errorlevel 1 goto xit
 cd ..

It's seriously too late, unless someone else steps up and does it. I'd
need to change the build script to clean and build another Windows
target, and my time is bound to regression fixing.

This code in the build script would need to be changed.

https://github.com/D-Programming-Language/installer/blob/7fa531bcaf7352f46af734d7804ab399e7c371b8/create_dmd_release/create_dmd_release.d#L383
https://github.com/D-Programming-Language/installer/blob/7fa531bcaf7352f46af734d7804ab399e7c371b8/create_dmd_release/create_dmd_release.d#L595

@rainers please integrate this with win64.mak so we can get this soon.

Does DMD already link against phobos32mscoff?


Re: Release Candidate D 2.067.0-rc1

2015-03-20 Thread Rainer Schuetze via Digitalmars-d-announce



On 16.03.2015 22:38, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin



A Visual D beta version with parser support for new language syntax 
(thanks to Alex Bothe) can be found here:


https://github.com/D-Programming-Language/visuald/releases/tag/v0.3.41-beta1

It also comes with some new mago debugger features.


Re: Release Candidate D 2.067.0-rc1

2015-03-20 Thread Rainer Schuetze via Digitalmars-d-announce



On 20.03.2015 16:18, Martin Nowak wrote:

On 03/19/2015 08:02 AM, Rainer Schuetze wrote:

The COFF32 lib is built through win64.mak. This is an excerpt from my
build script to create lib32\phobos32mscoff.lib:

set dm_make=c:\l\dmc\bin\make
set vs=vs12
set vcdir=c:\l\%vs%\vc
set cl32=%vcdir%/bin/cl.exe
set ar32=%vcdir%/bin/lib.exe
set MSLINK=%vcdir%\bin\link.exe
set lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib
set sdkdir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A

set LINKCMD=%MSLINK%
set LIB=%LIB32COFF%
set ARGS=DMD=%DMD% MAKE=%dm_make% CC=\%cl32%\ AR=\%ar32%\
VCDIR=%vcdir% SDKDIR=%sdkdir%

cd druntime
%dm_make% -f win64.mak MODEL=32mscoff %ARGS% target
if errorlevel 1 goto xit
cd ..

cd phobos
%dm_make% -f win64.mak MODEL=32mscoff %ARGS%
LIB=..\lib32\phobos32mscoff.lib
if errorlevel 1 goto xit
cd ..


It's seriously too late, unless someone else steps up and does it. I'd
need to change the build script to clean and build another Windows
target, and my time is bound to regression fixing.


I think we should not do it for the dmd 2.067 release. It would be good 
to have it integrated into the test infrastructure before adding it to 
the release. Yesterday I tried the unittests with Win32 COFF and hit a 
regression (?): https://github.com/D-Programming-Language/dmd/pull/4504




This code in the build script would need to be changed.

https://github.com/D-Programming-Language/installer/blob/7fa531bcaf7352f46af734d7804ab399e7c371b8/create_dmd_release/create_dmd_release.d#L383
https://github.com/D-Programming-Language/installer/blob/7fa531bcaf7352f46af734d7804ab399e7c371b8/create_dmd_release/create_dmd_release.d#L595

@rainers please integrate this with win64.mak so we can get this soon.


I'll look into that, but dm make tends to make it messy...



Does DMD already link against phobos32mscoff?



Yes. The default sc.ini expects it in windows\lib32mscoff.


Re: Release Candidate D 2.067.0-rc1

2015-03-19 Thread Rainer Schuetze via Digitalmars-d-announce



On 18.03.2015 01:46, Martin Nowak wrote:

On 03/18/2015 01:13 AM, Manu via Digitalmars-d-announce wrote:

Yes. Has for a while.
We're really hanging out for the 32bit COFF libs to ship with DMD.


Well, someone should add a build target to
https://github.com/D-Programming-Language/phobos/blob/master/win32.mak.
How is the phobos.lib called to avoid conflicts?

It's a bit late to come up with this, will see if I can find enough time
for this.



The COFF32 lib is built through win64.mak. This is an excerpt from my 
build script to create lib32\phobos32mscoff.lib:


set dm_make=c:\l\dmc\bin\make
set vs=vs12
set vcdir=c:\l\%vs%\vc
set cl32=%vcdir%/bin/cl.exe
set ar32=%vcdir%/bin/lib.exe
set MSLINK=%vcdir%\bin\link.exe
set lib32coff=m:\s\d\rainers\lib32;%vcdir%\vc\lib;%sdkdir%\lib
set sdkdir=c:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A

set LINKCMD=%MSLINK%
set LIB=%LIB32COFF%
set ARGS=DMD=%DMD% MAKE=%dm_make% CC=\%cl32%\ AR=\%ar32%\ 
VCDIR=%vcdir% SDKDIR=%sdkdir%


cd druntime
%dm_make% -f win64.mak MODEL=32mscoff %ARGS% target
if errorlevel 1 goto xit
cd ..

cd phobos
%dm_make% -f win64.mak MODEL=32mscoff %ARGS% LIB=..\lib32\phobos32mscoff.lib
if errorlevel 1 goto xit
cd ..


Re: Release Candidate D 2.067.0-rc1

2015-03-18 Thread Szymon Gatner via Digitalmars-d-announce

On Wednesday, 18 March 2015 at 00:47:20 UTC, Martin Nowak wrote:

On 03/18/2015 01:13 AM, Manu via Digitalmars-d-announce wrote:

Yes. Has for a while.
We're really hanging out for the 32bit COFF libs to ship with 
DMD.


Well, someone should add a build target to
https://github.com/D-Programming-Language/phobos/blob/master/win32.mak.
How is the phobos.lib called to avoid conflicts?

It's a bit late to come up with this, will see if I can find 
enough time

for this.


phobos32.lib I suppose? Would be great if it was there. That + 
struct d-tors would make this release great for those that wait 
to be able to create C++/D apps for Win32.


Re: Release Candidate D 2.067.0-rc1

2015-03-18 Thread Daniel Kozak via Digitalmars-d-announce
On Tuesday, 17 March 2015 at 14:01:18 UTC, Steven Schveighoffer 
wrote:

On 3/17/15 7:18 AM, Daniel Kozak wrote:

On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1

https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1


Unless any new issue pops up, we'll make the release on 
friday.


-Martin


Does not work with my code base :(

dmd: interpret.c:6724: void setValue(VarDeclaration*, 
Expression*):

Assertion `(vd-storage_class  (0x1000LL | 0x20LL)) ?
isCtfeReferenceValid(newval) : isCtfeValueValid(newval)' 
failed.

Exit code 134


This is an ICE (internal compiler error) and is something that 
needs to be filed. If you file it soon, it may be addressed 
before the release.


http://issues.dlang.org

-Steve



https://issues.dlang.org/show_bug.cgi?id=14304



Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Sönke Ludwig via Digitalmars-d-announce

Am 16.03.2015 um 22:38 schrieb Martin Nowak:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin



Corresponding vibe.d release cadidate (0.7.23-rc.1) is now up for 
testing as well:

http://code.dlang.org/packages/vibe-d


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Baz via Digitalmars-d-announce

On Tuesday, 17 March 2015 at 15:49:48 UTC, Baz wrote:

On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin


Thx, i notices some broken links in the local html doc 
yesterday...


https://issues.dlang.org/show_bug.cgi?id=14297

...surpinsingly they have not been fixed since. Is there a 
problem ?

This kins of problem can be very annoying to new comers.


Those kinds of problems can be very annoying to new comers.

/!\/!\/!\/!\


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Martin Nowak via Digitalmars-d-announce

On Tuesday, 17 March 2015 at 18:07:32 UTC, Szymon Gatner wrote:
Will 2.067 contain libphobos for linking with 32 bit windows 
apps (COFF 32)?


No work in that direction of which I know. Can DMD generate COFF 
for 32-bit now?


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread NCrashed via Digitalmars-d-announce

On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin


Seems a new regression with DList:
```
import std.container.dlist;

interface ITest {}

class Test : ITest {}   

void main()
{
DList!ITest().insertBack(new Test());
}
```

Compiles successfully with 2.066.1


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread NCrashed via Digitalmars-d-announce

On Tuesday, 17 March 2015 at 10:52:18 UTC, NCrashed wrote:

On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin


Seems a new regression with DList:
```
import std.container.dlist;

interface ITest {}

class Test : ITest {}   

void main()
{
DList!ITest().insertBack(new Test());
}
```

Compiles successfully with 2.066.1


Forgot output of dmd for 2.067-rc1:
```
/usr/include/dmd/phobos/std/container/dlist.d(642): Error: 
template std.container.dlist.DList!(ITest).DList.createNode 
cannot deduce function from argument types !()(Test, BaseNode*, 
BaseNode*), candidates are:
/usr/include/dmd/phobos/std/container/dlist.d(166):
std.container.dlist.DList!(ITest).DList.createNode()(ref T arg, 
BaseNode* prev = null, BaseNode* next = null)
/usr/include/dmd/phobos/std/container/dlist.d(414): Error: 
template instance 
std.container.dlist.DList!(ITest).DList.insertBeforeNode!(Test) 
error instantiating

source/app.d(9):instantiated from here: insertBack!(Test)
```


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Szymon Gatner via Digitalmars-d-announce

On Tuesday, 17 March 2015 at 15:49:48 UTC, Baz wrote:

On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin


Thx, i notices some broken links in the local html doc 
yesterday...


https://issues.dlang.org/show_bug.cgi?id=14297

...surpinsingly they have not been fixed since. Is there a 
problem ?

This kins of problem can be very annoying to new comers.


Will 2.067 contain libphobos for linking with 32 bit windows apps 
(COFF 32)?


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Rikki Cattermole via Digitalmars-d-announce

On 17/03/2015 10:38 a.m., Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin


I've been waiting since before 2.066 for another review on [0] or to be 
pulled.


[0] https://github.com/D-Programming-Language/dmd/pull/3921




Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Manu via Digitalmars-d-announce
On 18 March 2015 at 07:56, Martin Nowak via Digitalmars-d-announce
digitalmars-d-announce@puremagic.com wrote:
 On Tuesday, 17 March 2015 at 18:07:32 UTC, Szymon Gatner wrote:

 Will 2.067 contain libphobos for linking with 32 bit windows apps (COFF
 32)?


 No work in that direction of which I know. Can DMD generate COFF for 32-bit
 now?

Yes. Has for a while.
We're really hanging out for the 32bit COFF libs to ship with DMD.


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Szymon Gatner via Digitalmars-d-announce

On Tuesday, 17 March 2015 at 21:56:57 UTC, Martin Nowak wrote:

On Tuesday, 17 March 2015 at 18:07:32 UTC, Szymon Gatner wrote:
Will 2.067 contain libphobos for linking with 32 bit windows 
apps (COFF 32)?


No work in that direction of which I know. Can DMD generate 
COFF for 32-bit now?


Yes, AFAIU

http://forum.dlang.org/thread/lspuat$um6$1...@digitalmars.com


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Martin Nowak via Digitalmars-d-announce
On 03/18/2015 01:13 AM, Manu via Digitalmars-d-announce wrote:
 Yes. Has for a while.
 We're really hanging out for the 32bit COFF libs to ship with DMD.

Well, someone should add a build target to
https://github.com/D-Programming-Language/phobos/blob/master/win32.mak.
How is the phobos.lib called to avoid conflicts?

It's a bit late to come up with this, will see if I can find enough time
for this.


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Max Klyga via Digitalmars-d-announce

On 2015-03-17 11:18:10 +, Daniel Kozak said:


On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1 

https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1 



Unless any new issue pops up, we'll make the release on friday.

-Martin


Does not work with my code base :(

dmd: interpret.c:6724: void setValue(VarDeclaration*, Expression*): 
Assertion `(vd-storage_class  (0x1000LL | 0x20LL)) ? 
isCtfeReferenceValid(newval) : isCtfeValueValid(newval)' failed.

Exit code 134


Please concider submitting a bug request with minified test case 
created using dustmite (https://github.com/CyberShadow/DustMite)




Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread NCrashed via Digitalmars-d-announce

On Tuesday, 17 March 2015 at 11:33:14 UTC, Max Klyga wrote:

On 2015-03-17 11:18:10 +, Daniel Kozak said:


On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1

https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1


Unless any new issue pops up, we'll make the release on 
friday.


-Martin


Does not work with my code base :(

dmd: interpret.c:6724: void setValue(VarDeclaration*, 
Expression*): Assertion `(vd-storage_class  (0x1000LL | 
0x20LL)) ? isCtfeReferenceValid(newval) : 
isCtfeValueValid(newval)' failed.

Exit code 134


Please concider submitting a bug request with minified test 
case created using dustmite 
(https://github.com/CyberShadow/DustMite)


https://issues.dlang.org/show_bug.cgi?id=14300


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Daniel Kozak via Digitalmars-d-announce

On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin


Does not work with my code base :(

dmd: interpret.c:6724: void setValue(VarDeclaration*, 
Expression*): Assertion `(vd-storage_class  (0x1000LL | 
0x20LL)) ? isCtfeReferenceValid(newval) : 
isCtfeValueValid(newval)' failed.

Exit code 134


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Jonas Drewsen via Digitalmars-d-announce

On Tuesday, 17 March 2015 at 08:34:13 UTC, Sönke Ludwig wrote:

Am 16.03.2015 um 22:38 schrieb Martin Nowak:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin



Corresponding vibe.d release cadidate (0.7.23-rc.1) is now up 
for testing as well:

http://code.dlang.org/packages/vibe-d


I see that vibe-d dependencies lists libevent 2.0.x or libev. 
Any plans to add libasync as a third option?





Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread via Digitalmars-d-announce

libasync is already supported.

https://github.com/rejectedsoftware/vibe.d/blob/c3e0a8cdf1bc7e532b6709af580fe74f743551fb/dub.json#L39


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Steven Schveighoffer via Digitalmars-d-announce

On 3/17/15 7:18 AM, Daniel Kozak wrote:

On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1

https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1


Unless any new issue pops up, we'll make the release on friday.

-Martin


Does not work with my code base :(

dmd: interpret.c:6724: void setValue(VarDeclaration*, Expression*):
Assertion `(vd-storage_class  (0x1000LL | 0x20LL)) ?
isCtfeReferenceValid(newval) : isCtfeValueValid(newval)' failed.
Exit code 134


This is an ICE (internal compiler error) and is something that needs to 
be filed. If you file it soon, it may be addressed before the release.


http://issues.dlang.org

-Steve


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Sönke Ludwig via Digitalmars-d-announce

Am 17.03.2015 um 12:33 schrieb Max Klyga:

On 2015-03-17 11:18:10 +, Daniel Kozak said:


On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1

https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1


Unless any new issue pops up, we'll make the release on friday.

-Martin


Does not work with my code base :(

dmd: interpret.c:6724: void setValue(VarDeclaration*, Expression*):
Assertion `(vd-storage_class  (0x1000LL | 0x20LL)) ?
isCtfeReferenceValid(newval) : isCtfeValueValid(newval)' failed.
Exit code 134


Please concider submitting a bug request with minified test case created
using dustmite (https://github.com/CyberShadow/DustMite)



BTW, shortcut for DUB projects (mostly helpful when the project has 
other D dependencies):
dub dustmite ../folder_to_put_reduced_case --compiler-status=134 
--compiler-regex=interpret.c:6724:


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread NCrashed via Digitalmars-d-announce

On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin


Another regression: https://issues.dlang.org/show_bug.cgi?id=14301


Re: Release Candidate D 2.067.0-rc1

2015-03-17 Thread Baz via Digitalmars-d-announce

On Monday, 16 March 2015 at 21:38:22 UTC, Martin Nowak wrote:

Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin


Thx, i notices some broken links in the local html doc 
yesterday...


https://issues.dlang.org/show_bug.cgi?id=14297

...surpinsingly they have not been fixed since. Is there a 
problem ?

This kins of problem can be very annoying to new comers.



Release Candidate D 2.067.0-rc1

2015-03-16 Thread Martin Nowak via Digitalmars-d-announce
Release Candidate for 2.067.0

http://downloads.dlang.org/pre-releases/2.x/2.067.0/
http://ftp.digitalmars.com/
You can get the binaries here until they are mirrored.
https://dlang.dawg.eu/downloads/dmd.2.067.0-rc1/

We fixed the few remaining issues.
https://github.com/D-Programming-Language/dmd/compare/v2.067.0-b4...v2.067.0-rc1
https://github.com/D-Programming-Language/phobos/compare/v2.067.0-b4...v2.067.0-rc1

Unless any new issue pops up, we'll make the release on friday.

-Martin