Re: SIGSEGV (Segmentation Fault) upon setting character in char array (object member var)
John Kiro via Digitalmars-d-learn Tue, 19 Dec 2023 06:07:21 -0800
Thanks Adam. I agree, the behavior associated with the
initialization here is confusing (compared for example to a
similarly-looking code in Java). Also I don't get why an array of
characters would be considered as an immutable array of
characters (that is a **string**). I agree this could be a
compiler bug, specially that it's not caught by the compiler.
- SIGSEGV (Segmentation Fault) upon set... John Kiro via Digitalmars-d-learn
- Re: SIGSEGV (Segmentation Fault)... Adam D Ruppe via Digitalmars-d-learn
- Re: SIGSEGV (Segmentation Fa... John Kiro via Digitalmars-d-learn
- Re: SIGSEGV (Segmentatio... John Kiro via Digitalmars-d-learn