- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am trying to declare an __attribute__ aligned field in my struct, so that my edl file will recognize it.
I'm getting a weird error like "unexpected token: ("
Is there any other way to do it inside the Enclave.edl? or maybe I'm doing something wrong.
file.h
#ifndef FILE_H
#define FILE_H
#define ALIGN64 __attribute__((aligned(8)))
struct TrustedData { ALIGN64 UINT32 EncryptionMethods; }; #endif
Enclave.edl
enclave { #include "RDP_Def.h" trusted { //some functions public void ecallFoo([in, out] TrustedData* td); }; untrusted { //some functions }; };
Link Copied
0 Replies

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