libcdio-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Libcdio-devel] RFC: libcdio to remove it's version of bool and requ


From: Thomas Schmitt
Subject: Re: [Libcdio-devel] RFC: libcdio to remove it's version of bool and require <stdbool.h> ?
Date: Sun, 15 Jul 2018 12:12:48 +0200

Hi,

i wrote:
> If they included stdbool.h before cdio/types.h, then "#ifndef _STDBOOL_H"
> should not be reached at all,

Urm, That was written when "#ifndef _STDBOOL_H" was still directly before
"#define _STDBOOL_H". Later i moved the "#ifndef" outward because it seems
more straight to not rely on __bool_true_false_are_defined if already
_STDBOOL_H is detected.

So the statement should now be

  If they included stdbool.h before cdio/types.h, then
  "#ifndef __bool_true_false_are_defined" should not be reached at all,
  and even if so it should do no harm, because the first inclusion of
  stdbool.h should keep out further inclusions of itself anyways.


Have a nice day :)

Thomas




reply via email to

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