3945. §[cstdarg.syn] 'Compatible types' are undefined

Section: 17.13.2 [cstdarg.syn] Status: New Submitter: Lukas Barth Opened: 2023-06-08 Last modified: 2023-06-12 08:54:28 UTC

Priority: 3

View all issues with New status.

Discussion:

Subclause 17.13.2 [cstdarg.syn] p1 bullet (1.2) states (among other things):

[…] If the parameter parmN is of a reference type, or of a type that is not compatible with the type that results when passing an argument for which there is no parameter, the behavior is undefined.

Unlike the C standard, the C++ standard has no notion of 'compatible types', thus the meaning of this sentence unclear.

[2023-06-12; Reflector poll]

Set priority to 3 after reflector poll.

Proposed resolution: