On 02/11/2023 00:28, peter0x44 via Gcc wrote:
On 2023-11-01 23:13, Joseph Myers wrote:
On Wed, 1 Nov 2023, peter0x44 via Gcc wrote:
Why is #define used instead of typedef? I can't imagine how this could
possibly break any existing code.
That's how stdbool.h is specified up to C17. In C23,
On 2023-11-01 23:13, Joseph Myers wrote:
On Wed, 1 Nov 2023, peter0x44 via Gcc wrote:
Why is #define used instead of typedef? I can't imagine how this could
possibly break any existing code.
That's how stdbool.h is specified up to C17. In C23, bool is a keyword
instead.
I see, I didn't kn
On Wed, 1 Nov 2023, peter0x44 via Gcc wrote:
> Why is #define used instead of typedef? I can't imagine how this could
> possibly break any existing code.
That's how stdbool.h is specified up to C17. In C23, bool is a keyword
instead.
--
Joseph S. Myers
jos...@codesourcery.com