Community
cancel
Showing results for 
Search instead for 
Did you mean: 
yuanhai_c_
Beginner
81 Views

demo.edl compile error

Hi,

Im trying to compile my edl file

enclave {
    from "sgx_tstdc.edl" import *;

    trusted {
        /* define ECALLs here. */
		public void store_secret([in,string] char *msg);
		public int print_hash([out] sgx_status_t *error);
    };

    untrusted {
        /* define OCALLs here. */
		void o_print_hash([in] unsinged char hash[32]);
    };
};

But it report an error like:

CUSTOMBUILD : error : c:\Users\administrator\documents\visual studio 2015\Projects\App first\Enclave_app1\Enclave_app1.edl(13,38): parse error

Im following offical tutorials and i don't know why.

Thanks for your helping

0 Kudos
1 Reply
Rodolfo_S_
New Contributor III
81 Views

Hi,

You have a typo in your code. That's the error you are obtaining. On line 13 you should change "unsinged" to "unsigned".

Rodolfo

Reply