-ffreestanding option

Mike Franklin slavo5150 at yahoo.com
Wed Jul 25 10:47:23 UTC 2018


On Wednesday, 25 July 2018 at 10:32:40 UTC, Zheng (Vic) Luo wrote:

> Instead of forcing developers to avoid memset-like access 
> pattern in a freestanding environment and increasing their 
> mental burden, a universal flags to disable these the 
> generation of these calls will probably be a better choice.

I doesn't need to be avoided.  As long as you provide a proper 
implementation of `memset` you can use memset-like patterns as 
you wish.

Mike




More information about the D.gnu mailing list