View mode: basic / threaded / horizontal-split · Log in · Help
July 28, 2012
Re: D:YAML 0.4 released
On Saturday, 28 July 2012 at 06:01:15 UTC, Paulo Pinto wrote:
> On Tuesday, 24 January 2012 at 09:45:03 UTC, Kiith-Sa wrote:
>>> Greate news. DMD has a bug:
>>>
>>> dmd -inline -release -O -lib -ofyaml.lib yaml.d
>>>
>>> compile fine, but:
>>>
>>> dmd -noboundscheck -inline -release -O -lib -ofyaml.lib yaml.d
>>>
>>> emit errors.
>>
>> Was it a DMD bug, or did it actually compile and cause errors 
>> when running?
>> I wasn't able to reproduce it, but I'm on Linux.
>>
>> If it's a DMD/Windows bug, it can't do much about it (although 
>> maybe 2.058 will help?)
>>
>>
>> Or are you actually trying to compile D:YAML with that command?
>> Use the CDC script in the source to do that (see the getting 
>> started tutorial for detailed info):
>>
>> ./cdc.d release
>>
>> That compiles the release build , which includes -O, -inline, 
>> -release and -noboundscheck .
>
> with dmd 2.059 on Windows,
>
> D:\kiith-sa-D-YAML-c690d56>cdc
> building release target
> CDC:  dmd  @compile
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\datetime.d(29289): 
> Error: variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\datetime.d(29598): 
> Error: variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\datetime.d(29600): 
> Error: variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\datetime.d(29601): 
> Error: variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(542): Error: 
> variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(543): Error: 
> variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(1968): Error: 
> variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(1969): Error: 
> variable std.path.sep is deprecated
> Compiler failed: Process dmd  exited with status 1
> DONE
>
> D:\kiith-sa-D-YAML-c690d56>dmd -inline -release -O -lib 
> -ofyaml.lib yaml.d
>
> D:\kiith-sa-D-YAML-c690d56>dmd -noboundscheck -inline -release 
> -O -lib -ofyaml.lib yaml.d
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\datetime.d(29289): 
> Error: variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\datetime.d(29598): 
> Error: variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\datetime.d(29600): 
> Error: variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\datetime.d(29601): 
> Error: variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(542): Error: 
> variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(543): Error: 
> variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(1968): Error: 
> variable std.path.sep is deprecated
> C:\D\dmd2\windows\bin\..\..\src\phobos\std\file.d(1969): Error: 
> variable std.path.sep is deprecated

A workaround is to add .d to the command line, as it seems that 
phobos makes use of deprecated stuff on windows.

Is there a bug for it already? Otherwise I could provide a fix.

--
Paulo
July 28, 2012
Re: D:YAML 0.4 released
On Saturday, July 28, 2012 08:24:20 Paulo Pinto wrote:
> Is there a bug for it already? Otherwise I could provide a fix.

http://d.puremagic.com/issues/show_bug.cgi?id=8003

dmd 2.060beta does not have the problem.

- Jonathan M Davis
July 28, 2012
Re: D:YAML 0.4 released
On Saturday, 28 July 2012 at 06:31:31 UTC, Jonathan M Davis wrote:
> On Saturday, July 28, 2012 08:24:20 Paulo Pinto wrote:
>> Is there a bug for it already? Otherwise I could provide a fix.
>
> http://d.puremagic.com/issues/show_bug.cgi?id=8003
>
> dmd 2.060beta does not have the problem.
>
> - Jonathan M Davis

Ah, thanks.

Nothing to be done then.
July 28, 2012
Re: D:YAML 0.4 released
>
> A workaround is to add .d to the command line, as it seems that 
> phobos makes use of deprecated stuff on windows.
>
> Is there a bug for it already? Otherwise I could provide a fix.
>
> --
> Paulo

I'm currently working on a non-D project, and didn't yet
check if it works with DMD newer than 2.058. I.m planning to fix
any issues in September (but that will be with DMD 2.060).
Next ›   Last »
1 2
Top | Discussion index | About this forum | D home