On Friday, 13 January 2023 at 12:50:44 UTC, kdevel wrote:
Should importC fail on invalid C code?

In general, no. The purpose is to build / interface with existing C code, not to develop new C code with it. ImportC also has its own extensions by borrowing D features such as __import, CTFE, and forward references. A strict C compiler would reject those.

Reply via email to