Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

I cant use stdatomic.h inside enclave project

Medina_Chirinos__Jor
222 Views

Hi there,

I need to use inside my enclave project the library stdatomic.h. I am getting: fatal error: stdatomic.h: No such file or directory. I am using

and I checked in the documentation the function should be ok inside the enclave.

 

does anybody know what the problem could be?

 

Regards

0 Kudos
3 Replies
Hoang_N_Intel
Employee
222 Views

Is your project for C code only? For the standard sample projects, you should be able to include the C++ atomic header without any issue such as 

#include <atomic>

 

Medina_Chirinos__Jor
222 Views

Hi Hoang,

My project is for C code only

Regards

 

Medina_Chirinos__Jor
221 Views

Hi Hoang,

Why I cant use the stdatomic.h in my C project and the documentation says that is ok? what do you suggest me to do?

 

Regards

Reply