Do everything in Java…
Dicebot via Digitalmars-d
digitalmars-d at puremagic.com
Wed Dec 10 11:18:09 PST 2014
On Wednesday, 10 December 2014 at 08:43:49 UTC, Kagamin wrote:
> On Tuesday, 9 December 2014 at 20:55:51 UTC, Dicebot wrote:
>> Because you don't really create a template that way but
>> workaround broken function behavior. It is not the usage of
>> empty templates that is bad but the fact that plain functions
>> remain broken => not really a solution.
>
> You can compile against phobos sources instead of interface
> files.
As far as I understand gdc/ldc problem the way it currently works
there is no difference between .di and .d files - if function is
not a template its binary is expected to be found in matching
object file - and if that object file belongs to prebuild static
lib it is completely out of question, even if the sources are
completely available.
I have never understood exactly what in frontend makes it that
much of a problem though
More information about the Digitalmars-d
mailing list