work around an issue in Flex 2.6.4

The fallback definition of SIZE_MAX supplied by flex was not
preprocessor friendly and prevented robin_hood.hh from doing "#if
SIZE_MAX == UINT64_MAX", as observed by Marc Espie on OpenBSD.

* spot/parseaut/scanaut.ll, spot/parsetl/scantl.ll: Define
__STDC_VERSION__ just so that the code generated by Flex
include <inttypes.h>.
* NEWS: Mention the bug.
* THANKS: Add Marc.
This commit is contained in:
Alexandre Duret-Lutz 2022-02-16 11:42:06 +01:00
parent 3f9f6029e7
commit cdc89dad16
4 changed files with 22 additions and 2 deletions

3
NEWS
View file

@ -62,6 +62,9 @@ New in spot 2.10.4.dev (net yet released)
- reduce_parity() produced incorrect results when applied to
automata with deleted edges.
- work around a portability issue in Flex 2.6.4 preventing
compilation on OpenBSD.
New in spot 2.10.4 (2022-02-01)
Bug fixed: