profile
viewpoint

Ask questions'intrin.h' not available with MSC compiler and CE6 target

File clzll.h includes <intrin.h> if the compiler is MSC

#if defined(_MSC_VER)
#include <intrin.h>
#if defined(_WIN64)
#pragma intrinsic(_BitScanReverse64)
#else
#pragma intrinsic(_BitScanReverse)
#endif
#endif

But if the target is CE6 with Visual Studio 2008, intrin.h is not available and the application can't be compiled rapidjson\internal/clzll.h(21) : fatal error C1083: Cannot open include file: 'intrin.h': No such file or directory

As far as I understand, intrin.h is necessary to call _BitScanReverse()

How can be fixed this include so that support for CE6 is not dropped (rapidjson 1.1.0 fully supports CE6)?

Tencent/rapidjson

Answer questions miloyip

You may try to fix it and if it is possible you can make a PR.

useful!

Related questions

是否支持流式解析以及多个json分离解析 hot 1
是否支持流式解析以及多个json分离解析 hot 1
RapidJSON causes cc1plus: internal compiler error: Segmentation fault - rapidjson hot 1
GenericMemberIterator::Iterator implicitly declared private when RAPIDJSON_NOMEMBERITERATORCLASS is defined hot 1
Always gets a core dump while creating json string (rapidjson) hot 1
Bazel Support hot 1
Syntax typo in tutorial hot 1
是否支持流式解析以及多个json分离解析 hot 1
作者你好,我 想请教一下,这个框架是否能够将变量中文stirng 转成wchar_t? 在文档只看到定量 hot 1
travis on windows hot 1
Added headers to my project and got thousands of errors hot 1
Added headers to my project and got thousands of errors hot 1
想要的反斜杠 \. 无法表示,否则JSON解析出错 hot 1
Assertion `stack_.GetSize() == sizeof(ValueType)' failed hot 1
source:https://uonfu.com/
Github User Rank List