Thread overview
dlang/tools compilation failed?
Mar 14, 2013
Stephan Schiffels
Mar 14, 2013
Jonathan M Davis
Mar 14, 2013
Stephan Schiffels
March 14, 2013
Hi,

is it just me or does changed.d need to be fixed? I get these compiler errors (I use dmd, druntime and phobos from github and up to date).

$ make MODEL=64 -f posix.mak
dmd -m64  rdmd.d
dmd -m64  ddemangle.d
dmd -m64  catdoc.d
dmd -m64  detab.d
dmd -m64  tolf.d
dmd -c changed.d
changed.d(132): Error: cannot append type string to type Appender!(string)
changed.d(133): Error: cannot append type string to type Appender!(string)
changed.d(135): Error: cannot append type string to type Appender!(string)
changed.d(136): Error: cannot append type string to type Appender!(string)
changed.d(138): Error: cannot append type string to type Appender!(string)
changed.d(146): Error: cannot append type string to type Appender!(string)
changed.d(148): Error: cannot append type string to type Appender!(string)
changed.d(151): Error: cannot append type string to type Appender!(string)
changed.d(154): Error: cannot append type string to type Appender!(string)
changed.d(155): Error: cannot append type string to type Appender!(string)
make: *** [changed] Error 1
March 14, 2013
On Thursday, March 14, 2013 11:06:47 Stephan Schiffels wrote:
> Hi,
> 
> is it just me or does changed.d need to be fixed? I get these compiler errors (I use dmd, druntime and phobos from github and up to date).
> 
> $ make MODEL=64 -f posix.mak
> dmd -m64  rdmd.d
> dmd -m64  ddemangle.d
> dmd -m64  catdoc.d
> dmd -m64  detab.d
> dmd -m64  tolf.d
> dmd -c changed.d
> changed.d(132): Error: cannot append type string to type
> Appender!(string)
> changed.d(133): Error: cannot append type string to type
> Appender!(string)
> changed.d(135): Error: cannot append type string to type
> Appender!(string)
> changed.d(136): Error: cannot append type string to type
> Appender!(string)
> changed.d(138): Error: cannot append type string to type
> Appender!(string)
> changed.d(146): Error: cannot append type string to type
> Appender!(string)
> changed.d(148): Error: cannot append type string to type
> Appender!(string)
> changed.d(151): Error: cannot append type string to type
> Appender!(string)
> changed.d(154): Error: cannot append type string to type
> Appender!(string)
> changed.d(155): Error: cannot append type string to type
> Appender!(string)
> make: *** [changed] Error 1

Are you building with the latest dmd, druntime, and Phobos from master on github? My guess would be that you're not and that that's the problem.

- Jonathan M Davis
March 14, 2013
Oh man, my git skills are so mediocre that I thought "remote update" does the job (I am a mercurial user
, should really switch at some point).
Thanks for clarifying, now it compiles.

Stephan



On Thursday, 14 March 2013 at 10:37:22 UTC, Jonathan M Davis wrote:
> On Thursday, March 14, 2013 11:06:47 Stephan Schiffels wrote:
>> Hi,
>> 
>> is it just me or does changed.d need to be fixed? I get these
>> compiler errors (I use dmd, druntime and phobos from github and
>> up to date).
>> 
>> $ make MODEL=64 -f posix.mak
>> dmd -m64  rdmd.d
>> dmd -m64  ddemangle.d
>> dmd -m64  catdoc.d
>> dmd -m64  detab.d
>> dmd -m64  tolf.d
>> dmd -c changed.d
>> changed.d(132): Error: cannot append type string to type
>> Appender!(string)
>> changed.d(133): Error: cannot append type string to type
>> Appender!(string)
>> changed.d(135): Error: cannot append type string to type
>> Appender!(string)
>> changed.d(136): Error: cannot append type string to type
>> Appender!(string)
>> changed.d(138): Error: cannot append type string to type
>> Appender!(string)
>> changed.d(146): Error: cannot append type string to type
>> Appender!(string)
>> changed.d(148): Error: cannot append type string to type
>> Appender!(string)
>> changed.d(151): Error: cannot append type string to type
>> Appender!(string)
>> changed.d(154): Error: cannot append type string to type
>> Appender!(string)
>> changed.d(155): Error: cannot append type string to type
>> Appender!(string)
>> make: *** [changed] Error 1
>
> Are you building with the latest dmd, druntime, and Phobos from master on
> github? My guess would be that you're not and that that's the problem.
>
> - Jonathan M Davis