Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Komarek__David
Beginner
138 Views

Microsoft Visual Studio Version 16.3.1

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.

0 Kudos
1 Reply
138 Views

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

Reply