https://issues.dlang.org/show_bug.cgi?id=24094
Walter Bright <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Walter Bright <[email protected]> --- I tried the following: ------------ test.c ----------- __declspec(allocator) __declspec(restrict) void* __cdecl _calloc_base(int, int); ------------------------------- and it compiled without error. Can you perhaps try your code with the latest compiler? I note that __declspec(restrict) was a newer addition to dmd. --
