[Issue 8642] Fix `fopen` and friends signatures on Windows to not accept `char*`

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Sep 11 15:22:37 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8642



--- Comment #8 from Denis Shelomovskij <verylonglogin.reg at gmail.com> 2012-09-12 02:23:02 MSD ---
> Making it ubyte wouldn't solve anything, and you'd basically be
> arguing that ubyte should always be used instead of char in C bindings, and I
> don't think that you're going to find much traction on that.

IMHO it's a solution for such cases. Just my opinion.

> the w* functions aren't even available for anything in the C runtime

They are, by the way (see Issue 8643). MinGW also provides these functions. It
looks like they are 'unofficial' standard of C file IO on Windows.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list