Add ImportC compiler to dmd
Ola Fosheim Grøstad
ola.fosheim.grostad at gmail.com
Fri May 14 08:34:05 UTC 2021
On Friday, 14 May 2021 at 05:27:27 UTC, Walter Bright wrote:
> It's pretty clear that ImportC is not going to be an exact
> clone of gcc. I've been looking over the __attribute__
> documentation, and there doesn't even seem to be a proper
> grammar for it.
You are better off posing as Clang than GCC.
You have to choose one or the other as extensions tend to be
surrounded by #ifdefs
Clang is also used in a new compiler from Intel, but the more
challenging extensions are multiprocessing-extensions. Which will
creep in over time (meaning, next decade).
More information about the Digitalmars-d
mailing list