|
From: | Marc Nieper-Wißkirchen |
Subject: | Re: undefined-behavior obstack.c:139 |
Date: | Fri, 1 Dec 2023 20:08:45 +0100 |
Marc Nieper-Wißkirchen wrote:
> By 6.5.6 "Additive Operators":
>
> (2) "... one operator shall be a pointer to a complete object type..."
>
> NULL, which is a null pointer constant, is not necessarily a pointer to a
> complete object type.
In my test program, I used a variable of type 'char *'. Which is a pointer
to a complete object type.
[Prev in Thread] | Current Thread | [Next in Thread] |