<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Eclipse - Semantic error in ecall_enc1_sample function call in basic C++ project, not C project in Intel Confidential Computing</title>
    <link>https://community.intel.com/t5/Intel-Confidential-Computing/Eclipse-Semantic-error-in-ecall-enc1-sample-function-call-in/m-p/1177485#M3415</link>
    <description>&lt;P&gt;*******************&lt;/P&gt;&lt;P&gt;I Eclipse, I've generated empty C and C++ projects, then given both an SGX nature and added an enclave with a sample application option.&amp;nbsp; In the case of the C project, I get no errors and the sample works.&amp;nbsp; In the C++ project, the generated code in sample.cpp,&lt;/P&gt;&lt;P&gt;ret = ecall_enc1_sample(global_eid, &amp;amp;ecall_return);&lt;/P&gt;&lt;P&gt;comes up with an error, "Invalid arguments. Candidates are int ecall_enc1_sample()".&amp;nbsp; However, the project compiles with no errors and executes without a problem.&lt;/P&gt;&lt;P&gt;Just wondering what is generating the error in the case of the C++ project, even though it compiles with no errors and runs.&amp;nbsp; The edl and enc1_u.h report no errors.&lt;/P&gt;&lt;P&gt;********************&lt;/P&gt;&lt;P&gt;Update: Problem appears to be an Eclipse bug.&lt;/P&gt;</description>
    <pubDate>Mon, 17 Dec 2018 15:34:19 GMT</pubDate>
    <dc:creator>Harris__David</dc:creator>
    <dc:date>2018-12-17T15:34:19Z</dc:date>
    <item>
      <title>Eclipse - Semantic error in ecall_enc1_sample function call in basic C++ project, not C project</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Eclipse-Semantic-error-in-ecall-enc1-sample-function-call-in/m-p/1177485#M3415</link>
      <description>&lt;P&gt;*******************&lt;/P&gt;&lt;P&gt;I Eclipse, I've generated empty C and C++ projects, then given both an SGX nature and added an enclave with a sample application option.&amp;nbsp; In the case of the C project, I get no errors and the sample works.&amp;nbsp; In the C++ project, the generated code in sample.cpp,&lt;/P&gt;&lt;P&gt;ret = ecall_enc1_sample(global_eid, &amp;amp;ecall_return);&lt;/P&gt;&lt;P&gt;comes up with an error, "Invalid arguments. Candidates are int ecall_enc1_sample()".&amp;nbsp; However, the project compiles with no errors and executes without a problem.&lt;/P&gt;&lt;P&gt;Just wondering what is generating the error in the case of the C++ project, even though it compiles with no errors and runs.&amp;nbsp; The edl and enc1_u.h report no errors.&lt;/P&gt;&lt;P&gt;********************&lt;/P&gt;&lt;P&gt;Update: Problem appears to be an Eclipse bug.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 15:34:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Eclipse-Semantic-error-in-ecall-enc1-sample-function-call-in/m-p/1177485#M3415</guid>
      <dc:creator>Harris__David</dc:creator>
      <dc:date>2018-12-17T15:34:19Z</dc:date>
    </item>
  </channel>
</rss>

