wangxiaowei0303 / rapidjson

Automatically exported from code.google.com/p/rapidjson
MIT License
0 stars 0 forks source link

Visual C++ 2003 support #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.building in Visual C++ 2003 with RAPIDJSON_SSE2
2.
3.

What is the expected output? What do you see instead?
error C3861: '_BitScanForward': identifier not found, event with 
argument-dependent lookup

What version of the product are you using? On what operating system?

Please provide any additional information below.

My solution is below:

#if _MSC_VER < 1400
extern "C" unsigned char _BitScanForward(unsigned long* Index, unsigned long 
Mask);
#pragma intrinsic(_BitScanForward)
#endif

Original issue reported on code.google.com by ich...@gmail.com on 8 Jan 2014 at 2:49

GoogleCodeExporter commented 8 years ago

Original comment by milo...@gmail.com on 20 Jun 2014 at 11:24

GoogleCodeExporter commented 8 years ago
https://github.com/miloyip/rapidjson/commit/e63125f1a1c03abbaabb489a00d88fc9224f
b095

Original comment by milo...@gmail.com on 13 Jul 2014 at 4:17