http://d.puremagic.com/issues/show_bug.cgi?id=3412
Summary: DMD 1.x svn branch store string literal in mutable
char*
Product: D
Version: 1.051
Platform: All
OS/Version: All
Status: NEW
Keywords: patch
Severity: trivial
Priority: P2
Component: DMD
AssignedTo: [email protected]
ReportedBy: [email protected]
--- Comment #0 from Leandro Lucarella <[email protected]> 2009-10-17 10:46:49
PDT ---
Created an attachment (id=476)
Patch against DMD 1.x branch r215
String literals are supposed to be const char* instead of mutable char*, but
DMD uses char* in a few places.
Attached is a patch that stores the string literals using the right type.
As a side effect, it avoids some compiler warnings (at least with GCC).
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------