1
0
mirror of https://github.com/lz4/lz4.git synced 2026-10-24 01:48:57 +03:00
Files
lz4/.github
Yann Collet 6f6e186b3a headers: include dependencies outside of extern "C"
C++ forbids including a header within a linkage specification.
With clang C++ modules (-fmodules), including lz4.h or lz4hc.h failed :
<stdint.h> was imported within extern "C".

All public headers (lz4.h, lz4hc.h, lz4frame.h, lz4file.h) now include
their dependencies before opening extern "C".

New test : make -C tests test-cxx-modules (requires clang),
run in CI with clang on Linux, and on macOS.

Fixes #1600. Based on #1815 by @sergioperezcheco.
2026-10-19 21:34:16 -07:00
..
2022-07-31 17:47:00 +02:00
2026-01-25 20:04:38 -08:00