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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.