Make string literals immutable in Windows

Andrew Pennebaker andrew.pennebaker at gmail.com
Thu Nov 29 23:56:27 UTC 2018


I was surprised to read from the FreeBSD documentation that D 
string literals are actually writeable in Windows:

https://dlang.org/dmd-freebsd.html

Can we fix that? I think C literals were already immutable, 
though I'm not sure about the particulars of the Visual Studio 
C/C++ semantics.


More information about the Digitalmars-d mailing list