2021.01.04 14:23 "[Tiff] Motions related to C99 use in libtiff", by Even Rouault

2021.01.11 01:03 "Re: [Tiff] Motions related to C99 use in libtiff", by William Bader

>#define TIFF_LEGACY_TYPES

Could that (maybe combined with TIFFLIB_VERSION) be made the official transition method both for building libtiff and for packages including headers that include tiff headers that all need to agree on what to do, so a package that wants to update could

#include <tiffvers.h>
#if (TIFFLIB_VERSION > 20210101) && !defined(TIFF_LEGACY_TYPES)

safe to #include headers that conflict with the legacy types

Could TIFF_LEGACY_TYPES be 0 or 1 instead of just defined/not defined so tiffio.h could temporarily

#ifndef TIFF_LEGACY_TYPES
#if defined(_STDINT_H) || (__STDC_VERSION__ >= 199901L)
#define TIFF_LEGACY_TYPES 0
#else
#define TIFF_LEGACY_TYPES 1

...