=?UTF-8?Q?Re:_extern(C)_names_are_being_mangled; _that=27s_crazy,_Walter_says_I=27m_crazy?=
ketmar
ketmar at ketmar.no-ip.org
Wed Jul 24 09:44:19 UTC 2019
Mike Franklin wrote:
> a. `extern(C)` should mean `extern(C) pragma(mangle, C)`
then your code samples cannot be compiled at all, because each `extern(C)`
will in turn be expaned to`extern(C) pragma(mangle, C)`, and the loop will
go on. also, i won't even try to explain to somebody that "`extern(C)`
means `extern(C) blah-blah`, but you see, the second "extern" is special,
because... ahem... just because."
More information about the Digitalmars-d
mailing list