- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
After updating msvs to 16.3.1 I am unable to build my Enclave code. Everything was buildable with previous version of msvs (16.2).
Here is my build output:
1>predefined C++ types (compiler internal)(309,5): error C3861: '_BitScanForward': identifier not found 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(764): message : see reference to function template instantiation 'int __ctz_helper<unsigned int>(_T)' being compiled 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(764): message : with 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(764): message : [ 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(764): message : _T=unsigned int 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(764): message : ] 1>predefined C++ types (compiler internal)(325,5): error C3861: '_BitScanForward': identifier not found 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(778): message : see reference to function template instantiation 'int __ctz_helper64<unsigned __int64>(_T)' being compiled 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(778): message : with 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(778): message : [ 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(778): message : _T=unsigned __int64 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(778): message : ] 1>predefined C++ types (compiler internal)(329,5): error C3861: '_BitScanForward': identifier not found 1>predefined C++ types (compiler internal)(278,5): error C3861: '_BitScanReverse': identifier not found 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(786): message : see reference to function template instantiation 'int __clz_helper<unsigned int>(_T)' being compiled 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(786): message : with 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(786): message : [ 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(786): message : _T=unsigned int 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(786): message : ] 1>predefined C++ types (compiler internal)(294,5): error C3861: '_BitScanReverse': identifier not found 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(800): message : see reference to function template instantiation 'int __clz_helper64<unsigned __int64>(_T)' being compiled 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(800): message : with 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(800): message : [ 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(800): message : _T=unsigned __int64 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(800): message : ] 1>predefined C++ types (compiler internal)(298,5): error C3861: '_BitScanReverse': identifier not found 1>predefined C++ types (compiler internal)(342,25): error C3861: '__popcnt': identifier not found 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(804): message : see reference to function template instantiation 'int __popcount_helper<unsigned __int64>(_T)' being compiled 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(804): message : with 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(804): message : [ 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(804): message : _T=unsigned __int64 1>C:\Program Files (x86)\Intel\IntelSGXSDK\include\libc++\algorithm(804): message : ] 1>predefined C++ types (compiler internal)(342,78): error C3861: '__popcnt': identifier not found
Could you please provide me some information how can I solve this issue?
Thank you for your time.
David K.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi.
We do not currently support VS 2019 at this time. I'll let the team know about the change from VS 2019 16.2 to 16.3.1 to determine why there seems to be this issue with the intrinsics above.
Thanks,
Francisco
![](/skins/images/7FC17B7B85029576C25F1E43CE255B51/responsive_peak/images/icon_anonymous_message.png)
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page