Community
cancel
Showing results for 
Search instead for 
Did you mean: 
106 Views

I cant use stdatomic.h inside enclave project

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
106 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>

 

106 Views

Hi Hoang,

My project is for C code only

Regards

 

106 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