On 12/3/23 05:15, Andreas F. Borchert wrote:
You will have then to possibly live with annoying warnings and odd behaviours.
The C standard says that when P is a null pointer, P==P must be true whereas P<=P has undefined behavior. However, in practice any implementation where P==P succeeds but P<=P fails is a pedantic implementation that is merely enforcing what are arguably bugs in the standard. Let's not waste time worrying about implementations like that.