[Issue 18385] [REG nightly] function cannot be overloaded with another extern(C) function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Feb 23 09:38:26 UTC 2018


https://issues.dlang.org/show_bug.cgi?id=18385

Mike Franklin <slavo5150 at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |slavo5150 at yahoo.com

--- Comment #1 from Mike Franklin <slavo5150 at yahoo.com> ---
I tested this at the module level: https://run.dlang.io/is/6iuGF4

It fails with a "multiple definition" linker error for 2.071.2 ~ 2.074.1.  It
succeeds beginning with 2.075.1, but displays a linker warning "Warning: size
of symbol `foo` changed"

I don't think this should have ever compiled, and I'm tempted to say that this
bug has finally been fixed.  But I would be delighted to be proven wrong.

--


More information about the Digitalmars-d-bugs mailing list