This is an unofficial snapshot of the ISO/IEC JTC1 SC22 WG21 Core Issues List revision 116a. See http://www.open-std.org/jtc1/sc22/wg21/ for the official list.

2024-12-19


2696. Relational comparisons of pointers to void

Section: 7.6.9  [expr.rel]     Status: dup     Submitter: CWG     Date: 2023-02-09     Liaison: SG22

While discussing issue 2526, it was noted that C++ yields an unspecified result for comparing unequal pointers to void in all cases, whereas C does specify the result if the pointer values point to the same object or (possibly different) subobjects thereof, because C considers void an object type.

February, 2023

Requested confirmation of the C status quo from SG22.

Rationale (June, 2023)

This issue is a duplicate of issue 2749.