CTFE and DI: The Crossroads of D
Timon Gehr
timon.gehr at gmx.ch
Wed May 9 14:14:18 PDT 2012
On 05/09/2012 10:45 PM, Adam Wilson wrote:
> On Wed, 09 May 2012 13:43:12 -0700, Timon Gehr <timon.gehr at gmx.ch> wrote:
>
>> On 05/09/2012 10:40 PM, Adam Wilson wrote:
>>>
>>> ... unfortunately, Phobos won't compile with the
>>> patch applied because of the CTFE reliance on the DRT source.
>>>
>>
>> It is actually the .di reliance. Maybe you should just fix the
>> makefile so that it does not generate .di files for druntime.
>
> It's not that easy. Phobos imports the DI's
It imports the modules.
> and it's make file would
> need to be adjusted as well. Which could very well break other things.
Slightly adjusting the makefile is certainly simpler than changing the
language.
> Also, see the issues with SharedLibs. The issue of runtime commonality
> is no small deal.
>
It is absolutely unrealistic to do that any time soon. The runtime still
regularly gets essential updates.
More information about the Digitalmars-d
mailing list