www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dtl - MinTL DMD 0.120

reply John Demme <me teqdruid.com> writes:
I just downloaded and tried to use MinTL off Ben's website, and got this compile
error:
/home/teqdruid/workspace/include/mintl/list.d(281): function
mintl.list.List!(int).List.opEquals (List *) does not match argument types (List
)
/home/teqdruid/workspace/include/mintl/list.d(281): cannot implicitly convert
expression (*(p)) of type List to List *
/home/teqdruid/workspace/include/mintl/list.d(4): template instance
mintl.list.List!(int) error instantiating


Is MinTL supposed to work with DMD 0.120?  If not, Ben, when's the next MinTL
update?

Thanks
John Demme
Apr 09 2005
parent Ben Hinkle <Ben_member pathlink.com> writes:
In article <d39svq$al3$1 digitaldaemon.com>, John Demme says...
I just downloaded and tried to use MinTL off Ben's website, and got this compile
error:
/home/teqdruid/workspace/include/mintl/list.d(281): function
mintl.list.List!(int).List.opEquals (List *) does not match argument types (List
)
/home/teqdruid/workspace/include/mintl/list.d(281): cannot implicitly convert
expression (*(p)) of type List to List *
/home/teqdruid/workspace/include/mintl/list.d(4): template instance
mintl.list.List!(int) error instantiating


Is MinTL supposed to work with DMD 0.120?  
It's supposed to... :-P It could be a compiler bug - everything worked fine in 119. That opEquals is declared to take a template parameter List. I know some bug fixing wrt template parameters went into 120 and it looks like List has become List* inside the template. I was going to narrow things down for Walter once I get back to my computer.
If not, Ben, when's the next MinTL update?
Monday or Tuesday assuming the problem can be worked around.
Apr 09 2005