Summary: DMD 1.x svn branch store string literal in mutable
           Product: D
           Version: 1.051
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: patch
          Severity: trivial
          Priority: P2
         Component: DMD

--- Comment #0 from Leandro Lucarella <> 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:
------- You are receiving this mail because: -------

Reply via email to