Re: const and K&R C - was Re: AW: A: a new bug to old plain C
Segher Boessenkool <[email protected]>
| Newsgroups | gmane.comp.gcc.help |
|---|---|
| Message-ID | <aTQgcEjZkGnr7DgE@gate> |
On Sat, Dec 06, 2025 at 06:19:11AM +0000, Andrew C Aitchison via Gcc-help wrote: > On Fri, 5 Dec 2025, J Decker via Gcc-help wrote: > > > It was my understanding of the C standard from K&R days, > > was that pointers could inherit const, but not lose const... > > My recollection is that there was no *const* in K&R C ? There is no *volatile* either, much harder to work around when you need to :-) Segher