[Issue 12788] -di doesn't warn about implicit conversion from char[] to char*

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri May 23 04:14:53 PDT 2014


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

--- Comment #1 from Leandro Lucarella <leandro.lucarella at sociomantic.com> ---
BTW, this seems somehow harmless, but when using -di by default, it's quite
dangerous, as you can easily end up passing non-null terminated strings to C
without noticing!

--


More information about the Digitalmars-d-bugs mailing list