[Issue 1123] We can change Struct.init
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Wed Apr 25 10:58:16 PDT 2007
http://d.puremagic.com/issues/show_bug.cgi?id=1123
thomas-dloop at kuehne.cn changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|We can change Struct.init |We can change Struct.init
------- Comment #1 from thomas-dloop at kuehne.cn 2007-04-25 12:58 -------
That is again a case where the compiler didn't put unchangeable content
(Identitiy and init) readonly section but read-write section. On Linux "init"
is in a readonly section and thus the second loop segfaults.
It would be nice if the compiler enforced/checked read-write rights.
--
More information about the Digitalmars-d-bugs
mailing list