libcdio-devel
[Top][All Lists]
Advanced

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

Re: [Libcdio-devel] [RFC] New API iso9660_statv2_t as API/ABI compatible


From: Thomas Schmitt
Subject: Re: [Libcdio-devel] [RFC] New API iso9660_statv2_t as API/ABI compatible way to read files >= 4 GiB
Date: Thu, 12 Jul 2018 18:25:36 +0200

Hi,

the decisive trigger for the include problem with iso9660_private.h
is that <stdbool.h> is included after <cdio/iso9660.h>.

This gesture in iso9660_private.h reproduces the problem:

  #include <cdio/iso9660.h>

  #ifdef HAVE_STDBOOL_H
  # include <stdbool.h>
  #endif  

and this does not:

  #include <cdio/iso9660.h>

and this does not either:

  #ifdef HAVE_STDBOOL_H
  # include <stdbool.h>
  #endif

  #include <cdio/iso9660.h>

So at least we got it under control. (And the #ifdef around <cdio/iso9660.h>
is not necessary.)

But why is <stdbool.h> after <cdio/iso9660.h> so poisonous ?


Have a nice day :)

Thomas




reply via email to

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