Re: Do we care if C compilers start allowing "." on pointers?
Peter Zijlstra <[email protected]>
| Newsgroups | org.kernel.vger.linux-toolchains |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jan 10, 2025 at 07:02:14AM -0800, Paul E. McKenney wrote: > Hello! > > Currently, given a pointer "p", C allows p->a but not p.a. There is a > proposal from C++ [1] that is being considered for C. > > Do we care? After buying a new WTF'o'meter -- reading about this proposal definitely shattered the old one -- I'm with everybody else so far, this will not make C better, and if it ever were to pass, we should ensure the kernel does not use it.