[Issue 4539] Refuse assignment to string literal

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Jul 31 07:27:59 PDT 2010


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrej.mitrovich at gmail.com


--- Comment #1 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2010-07-31 07:27:57 PDT ---
I just found this by accident on the compiler docs page:

http://www.digitalmars.com/d/2.0/dmd-windows.html

"
Differences between Windows and Linux versions

    * String literals are read-only under Linux. Attempting to write to them
will cause a segment violation.
"

Maybe this is relevant?

-- 
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