Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



On 07.11.2019 16:49, Martin Husemann wrote:
> On Thu, Nov 07, 2019 at 04:45:31PM +0100, Kamil Rytarowski wrote:
>> Unfortunately the C committee went into the opposite direction here and
>> specified a potential dereference.
> 
> Where?
> 
> Martin
> 

6.3.2.1 C99

"An lvalue is an expression with an object type or an incomplete type
other than void"

6.3.2.1 C11

'An lvalue is an expression (with an object type other than void) that
potentially designates an object'

This means that real dereference is not needed, only a potential. And
there are special cases of pointer arithmetic.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index