bug-gnulib
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]