I'm quite new to D, and am trying to create an array of structs with -betterC active, but keep running into this error:
/home/xander/Documents/lithium/kernel/kernel.main.d:17: undefined reference to `_memset64'
when I try to link it. Here is the offending line:
idt_entry[256] idtr;
I did not find this error with gdc, but require access to inline assembly for my project, so switching back is not an option.
Repo link: Omega0x013/lithium
I think defining the function will solve your problem. source from here