[Issue 890] Returning char[4] and assigning to char[] produces unexpected results.
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Fri Jan 26 02:27:32 PST 2007
http://d.puremagic.com/issues/show_bug.cgi?id=890
benoit at tionex.de changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
Status|RESOLVED |REOPENED
Resolution|INVALID |
------- Comment #2 from benoit at tionex.de 2007-01-26 04:27 -------
Please add an error for this. Probably it is not possible to catch all such
cases. But it should be possible for the trivial case: returning a reference to
local defined char[4].
This will prevent more ppl from having that problem.
I changed this item from bug to enhancement.
--
More information about the Digitalmars-d-bugs
mailing list