Przeglądaj źródła

Fix building in C23 (fixes #340)

tags/v0.7.1
Ben Kurtovic 1 rok temu
rodzic
commit
35cb3b4c4b
3 zmienionych plików z 5 dodań i 0 usunięć
  1. +1
    -0
      CHANGELOG
  2. +2
    -0
      docs/changelog.rst
  3. +2
    -0
      src/mwparserfromhell/parser/ctokenizer/avl_tree.c

+ 1
- 0
CHANGELOG Wyświetl plik

@@ -3,6 +3,7 @@ v0.7.1 (unreleased):
- Modernize packaging. - Modernize packaging.
- Explicitly support $WITH_EXTENSION/$WITHOUT_EXTENSION to control whether the - Explicitly support $WITH_EXTENSION/$WITHOUT_EXTENSION to control whether the
C tokenizer should be built. C tokenizer should be built.
- Fix building in C23 (e.g. in GCC 15). (#340)


v0.7.0 (released June 28, 2025): v0.7.0 (released June 28, 2025):




+ 2
- 0
docs/changelog.rst Wyświetl plik

@@ -10,6 +10,8 @@ Unreleased
- Modernize packaging. - Modernize packaging.
- Explicitly support ``$WITH_EXTENSION`` / ``$WITHOUT_EXTENSION`` to control - Explicitly support ``$WITH_EXTENSION`` / ``$WITHOUT_EXTENSION`` to control
whether the C tokenizer should be built. whether the C tokenizer should be built.
- Fix building in C23 (e.g. in GCC 15).
(`#340 <https://github.com/earwig/mwparserfromhell/issues/340>`_)


v0.7.0 v0.7.0
------ ------


+ 2
- 0
src/mwparserfromhell/parser/ctokenizer/avl_tree.c Wyświetl plik

@@ -21,7 +21,9 @@
#define false 0 #define false 0
#define true 1 #define true 1


#if __STDC_VERSION__ < 202000
typedef int bool; typedef int bool;
#endif


#include "avl_tree.h" #include "avl_tree.h"




Ładowanie…
Anuluj
Zapisz