[Issue 19201] Error: func called with argument types (ulong) matches both: __c_long and __c_ulong

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Dec 22 08:14:04 UTC 2018


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

Walter Bright <bugzilla at digitalmars.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bugzilla at digitalmars.com

--- Comment #3 from Walter Bright <bugzilla at digitalmars.com> ---
This should be broken. long is NOT __c_long, and treating the two as an exact
match does not work. (For example, template matching now fails
https://issues.dlang.org/show_bug.cgi?id=19499)

The DMD code that doesn't compile should be fixed with a cast, not by breaking
the type system.

--


More information about the Digitalmars-d-bugs mailing list