aboutsummaryrefslogtreecommitdiff
path: root/tests/test_compress_generated_text
diff options
context:
space:
mode:
authorJia Tan <jiat0218@gmail.com>2023-07-24 21:43:44 +0800
committerJia Tan <jiat0218@gmail.com>2023-07-24 23:11:13 +0800
commitd9166b52cf3458a4da3eb92224837ca8fc208d79 (patch)
treebe57bff00ac1486979dd7ae3a80fa2928056b096 /tests/test_compress_generated_text
parentTranslations: Update the Vietnamese translation. (diff)
downloadxz-d9166b52cf3458a4da3eb92224837ca8fc208d79.tar.xz
liblzma: Prevent an empty translation unit in Windows builds.
To workaround Automake lacking Windows resource compiler support, an empty source file is compiled to overwrite the resource files for static library builds. Translation units without an external declaration are not allowed by the C standard and result in a warning when used with -Wempty-translation-unit (Clang) or -pedantic (GCC).
Diffstat (limited to 'tests/test_compress_generated_text')
0 files changed, 0 insertions, 0 deletions