-
Notifications
You must be signed in to change notification settings - Fork 889
Open
Description
By defining XXH_INLINE_ALL, I have compilation error on MSVS.
Blaming: xxh_x86dispatch.h::XXH3_128bits_dispatch
Error text: static function declared but not defined.
My code is:
#define XXH_INLINE_ALL
#include "xxh_x86dispatch.h"
static inline std::vector<uint8_t> xxh128(const std::vector<uint8_t>& data)
{
const XXH128_hash_t hash = XXH3_128bits(data.data(), data.size());
// ...
}
Included files:
xxh_x86dispatch.h
xxh_x86dispatch.c
xxhash.h
Uses the latest source code of "dev" branch.
Removing XXH_INLINE_ALL fixes the issue.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels