]> git.ipfire.org Git - thirdparty/zstd.git/commit
Move ZSTD_DEPRECATED before ZSTDLIB_API/ZSTDLIB_STATIC_API 3273/head
authorFangrui Song <i@maskray.me>
Thu, 22 Sep 2022 19:30:21 +0000 (12:30 -0700)
committerFangrui Song <i@maskray.me>
Thu, 22 Sep 2022 19:30:44 +0000 (12:30 -0700)
commit5635827ede68d3774f70144fcd39589a2d8d5a15
treed1dcc6d9d62efd96589b7ae6fdab20ec90ea26fe
parent43962d72e66e09b2edeb3bff0bb99344741bcbbf
Move ZSTD_DEPRECATED before ZSTDLIB_API/ZSTDLIB_STATIC_API

Clang doesn't allow [[deprecated(...)]] attribute after __attribute__.
Move [[deprecated(...)]] before __attribute__ to fix C++14/C++17 uses
with Clang.

Fix #3250
lib/zstd.h