瀏覽代碼

Fix building in C23 (fixes #340)

tags/v0.7.1
Ben Kurtovic 1 年之前
父節點
當前提交
35cb3b4c4b
共有 3 個文件被更改,包括 5 次插入 和 0 次删除
  1. +1
    -0
      CHANGELOG
  2. +2
    -0
      docs/changelog.rst
  3. +2
    -0
      src/mwparserfromhell/parser/ctokenizer/avl_tree.c

+ 1
- 0
CHANGELOG 查看文件

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

v0.7.0 (released June 28, 2025):



+ 2
- 0
docs/changelog.rst 查看文件

@@ -10,6 +10,8 @@ Unreleased
- Modernize packaging.
- Explicitly support ``$WITH_EXTENSION`` / ``$WITHOUT_EXTENSION`` to control
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
------


+ 2
- 0
src/mwparserfromhell/parser/ctokenizer/avl_tree.c 查看文件

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

#if __STDC_VERSION__ < 202000
typedef int bool;
#endif

#include "avl_tree.h"



Loading…
取消
儲存