[ HELP ] fakePureCalloc error
H. S. Teoh
hsteoh at qfbox.info
Sun Oct 19 08:06:20 UTC 2025
On Sun, Oct 19, 2025 at 07:54:53AM +0000, wron via Digitalmars-d-learn wrote:
> Hey guys, what does this error mean:
> `.local/usr/dmd-2.111.0/linux/bin64/../../src/phobos/std/internal/memory.d(39,33): Error: `fakePureCalloc` cannot be interpreted at compile time, because it has no available source code`
[...]
Don't use `Array!(...)` in compile-time code. Just use a regular array.
T
--
How many guacas are in 1 guacamole? 6.022*10^23, also known as Avocado's Number.
More information about the Digitalmars-d-learn
mailing list