[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bool and C23
From: |
Paul Eggert |
Subject: |
Re: bool and C23 |
Date: |
Sun, 18 Sep 2022 10:30:43 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 |
On 9/18/22 06:33, Bruno Haible wrote:
#include "unitypes.h"
+/* Get bool. */
+#include <stdbool.h>
In examples like these would it make sense to do the following instead?
This would avoid a bit of namespace pollution.
#if !@HAVE_C_BOOL@ && !defined __cplusplus
#include <stdbool.h>
#endif
- Re: bool and C23, Paul Eggert, 2022/09/09
- Re: bool and C23, Bruno Haible, 2022/09/09
- Re: bool and C23, Paul Eggert, 2022/09/10
- Re: bool and C23, Bruno Haible, 2022/09/10
- Re: bool and C23, Paul Eggert, 2022/09/10
- Re: bool and C23, Bruno Haible, 2022/09/10
- Re: bool and C23, Bruno Haible, 2022/09/10
- Re: bool and C23, Bruno Haible, 2022/09/18
- Re: bool and C23,
Paul Eggert <=
- Re: bool and C23, Bruno Haible, 2022/09/18
- Re: bool and C23, Bruno Haible, 2022/09/18
- Re: bool and C23, Paul Eggert, 2022/09/18
- Re: bool and C23, Bruno Haible, 2022/09/18