[dmd-internals] building dmd with the microsoft compiler

Rainer Schuetze r.sagitario at gmx.de
Mon Nov 14 00:12:34 PST 2011


On 13.11.2011 23:51, Walter Bright wrote:
>
>
> On 11/13/2011 10:55 AM, Rainer Schuetze wrote:
>> On 13.11.2011 19:33, Walter Bright wrote:
>>>
>>>
>>> On 11/13/2011 8:13 AM, Rainer Schuetze wrote:
>>>>
>>>>>
>>>>>>
>>>>>> The C99 printf functions are overloaded by inserting an include 
>>>>>> file on the command line, I would prefer if these would go into 
>>>>>> port.c/h, but these would need to be included by the backend 
>>>>>> aswell then.
>>>>>
>>>>> They should go in port, or perhaps we should just dispense with 
>>>>> using the C99 formats.
>>>>
>>>> I will try to put it in port. %a on 80-bit floats needs to be 
>>>> implemented anyway.
>>>>
>
> We need %a, but the other C99 formats can be eliminated by casting to 
> (unsigned long long) and using a ull format.

Ok, so it might be easiest to just have a function in port.c to write a 
long double into a buffer.

> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals
>



More information about the dmd-internals mailing list