Best way to confine project to 64 bit builds only?

NonNull non-null at use.startmail.com
Sat Oct 17 15:05:59 UTC 2020


On Saturday, 17 October 2020 at 14:56:35 UTC, Adam D. Ruppe wrote:
> On Saturday, 17 October 2020 at 14:50:47 UTC, NonNull wrote:
>> I have inherited an open source C project that assumes that 
>> the size of a long and the size of a pointer are the same
>
> static assert(long.sizeof == void*.sizeof);

That's a nice clean answer!


More information about the Digitalmars-d-learn mailing list