Path: ...!news.nobody.at!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: "Chris M. Thomasson" Newsgroups: comp.lang.c Subject: Re: No warning at implicit removal of const. Was: relearning C: why does an in-place change to a char* segfault? Date: Mon, 5 Aug 2024 15:44:18 -0700 Organization: A noiseless patient Spider Lines: 12 Message-ID: References: <20240801174026.00002cda@yahoo.com> <87zfpvfdk4.fsf@nosuchdomain.example.com> <87v80ig4vt.fsf@nosuchdomain.example.com> <87le1ed0dl.fsf@bsb.me.uk> <875xsfdbhf.fsf@bsb.me.uk> <87ttfzb5ar.fsf@bsb.me.uk> <87frribsgs.fsf@bsb.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Tue, 06 Aug 2024 00:44:19 +0200 (CEST) Injection-Info: dont-email.me; posting-host="49cc1ebae54dd337cd29762bf6fa6814"; logging-data="1219281"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/vogjBnjvg88POwby8+vI8EiTLRSTxArM=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:ou4NicnCWy3P8y4BcS8NcZmw3EY= Content-Language: en-US In-Reply-To: <87frribsgs.fsf@bsb.me.uk> Bytes: 1800 On 8/5/2024 1:54 PM, Ben Bacarisse wrote: [...] Another habit of mine was to write: void* const self_, or: void* const this_, For the first parameter... That trailing underscore... ;^o