Add source level deprecation warning disabling to certain tests/utils (#2645)

This commit is contained in:
sen authored and GitHub committed 2021-05-13 14:41:21 -04:00
1 parent b57022eede
commit 40def70387
7 files changed
+11 -2

No files matched your search

+1
View File
@@ -28,6 +28,7 @@
#include <assert.h> /* assert */
#include "timefn.h" /* UTIL_time_t, UTIL_getTime */
#include "mem.h"
#define ZSTD_DISABLE_DEPRECATE_WARNINGS /* No deprecation warnings, we still test some deprecated functions */
#define ZSTD_STATIC_LINKING_ONLY /* ZSTD_maxCLevel, ZSTD_customMem, ZSTD_getDictID_fromFrame */
#include "zstd.h" /* ZSTD_compressBound */
#include "zstd_errors.h" /* ZSTD_error_srcSize_wrong */