Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Zhang__Huiqiang
Beginner
199 Views

I want to put some C++ code into Enclave to execute, but I find that C++ classes are not supported. What should I do?

I want to put some C++ code into Enclave to execute, but I find that C++ classes are not supported. What should I do?Does the Enclave only support c language? who can resolve my problem,thank you very much.

0 Kudos
2 Replies
Scott_R_Intel
Employee
199 Views

Hello.

C++ support inside enclaves is included with the SGX SDK, though there are limitations - some classes/features are not supported.  There's even a C++ sample included with the SDK (Cxx11SGXDemo).

Please see the "C++ Language Support" section of either the Windows or Linux Developer Reference:

https://download.01.org/intel-sgx/linux-2.5/docs/Intel_SGX_Developer_Reference_Linux_2.5_Open_Source...

https://software.intel.com/sites/default/files/managed/47/19/sgx-sdk-developer-reference-for-windows...

Regards.

Scott

Zhang__Huiqiang
Beginner
199 Views

Hi,Scott, I 'll read it.thank you very much.

best regards

huiqiang

Reply