For the lulz: ddmd vs libdparse lexer timings

Iain Buclaw via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 5 09:32:27 PST 2015


On 5 January 2015 at 12:13, Daniel Murphy via Digitalmars-d
<digitalmars-d at puremagic.com> wrote:
> "Daniel Murphy"  wrote in message news:m8dv1g$1cg4$1 at digitalmars.com...
>>
>> Druntime and phobos rely on va_list converting to void*.  Should this
>> a) be allowed on platforms where va_list is a pointer
>> b) always be allowed
>> c) never be allowed
>> ???
>
>
> And what about explicit casts?

Casts should always be explicit.  I think it would be best if va_list
is treated as a distinct type to others, even if the underlying type
is a char* (x86) or void* (ARM OABI).


More information about the Digitalmars-d mailing list