Just because I modify a string literal does not mean I have a bug in my program. If I do it accidentally, or modify past the end, then I have a bug in my program.

max

Quoting [EMAIL PROTECTED]:



As for making the compiler by default put string literals in read only
segments, I would prefer the compiler to be less restrictive.  I know
what I'm doing, and if I do it incorrectly, it should be my problem,
not the compiler's.


You have a bug in your program and the compiler should help you
detect it because future environments may not be so forgiving...


Casper




_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to