<?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>S32KのトピックRe: s32k144 when math.h is included while debugging getting the error for acos function</title>
    <link>https://community.nxp.com/t5/S32K/s32k144-when-math-h-is-included-while-debugging-getting-the/m-p/1836892#M33549</link>
    <description>&lt;P&gt;Yes I have added math.h&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 28 Mar 2024 03:42:15 GMT</pubDate>
    <dc:creator>sona1</dc:creator>
    <dc:date>2024-03-28T03:42:15Z</dc:date>
    <item>
      <title>s32k144 when math.h is included while debugging getting the error for acos function</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-when-math-h-is-included-while-debugging-getting-the/m-p/1836100#M33503</link>
      <description>&lt;P&gt;I am using s32k144 i am getting this error&lt;/P&gt;&lt;P&gt;Multiple errors reported.&lt;/P&gt;&lt;P&gt;1) Unable to create variable object&lt;/P&gt;&lt;P&gt;2) Failed to execute MI command:&lt;BR /&gt;-var-create - * "(float)((i_alpha * acos((double)theta_elec)) + (i_beta * asin((double)theta_elec)))"&lt;BR /&gt;Error message from debugger back end:&lt;BR /&gt;'acos' has unknown return type; cast the call to its declared return type&lt;/P&gt;&lt;P&gt;3) Failed to execute MI command:&lt;BR /&gt;-data-evaluate-expression "(float)((i_alpha * acos((double)theta_elec)) + (i_beta * asin((double)theta_elec)))"&lt;BR /&gt;Error message from debugger back end:&lt;BR /&gt;'acos' has unknown return type; cast the call to its declared return type&lt;/P&gt;&lt;P&gt;4) Failed to execute MI command:&lt;BR /&gt;-var-create - * "(float)((i_alpha * acos((double)theta_elec)) + (i_beta * asin((double)theta_elec)))"&lt;BR /&gt;Error message from debugger back end:&lt;BR /&gt;'acos' has unknown return type; cast the call to its declared return type&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 07:46:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-when-math-h-is-included-while-debugging-getting-the/m-p/1836100#M33503</guid>
      <dc:creator>sona1</dc:creator>
      <dc:date>2024-03-27T07:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 when math.h is included while debugging getting the error for acos function</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-when-math-h-is-included-while-debugging-getting-the/m-p/1836690#M33543</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229248"&gt;@sona1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did you already add the math library in the Project Settings? Check the following thread. It has information related to the topic.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/atan2f-in-math-h-with-S32DS-S32K144/m-p/799790/highlight/true" target="_blank" rel="noopener"&gt;atan2f in math.h with S32DS S32K144&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;B.R.&lt;/P&gt;
&lt;P&gt;VaneB&lt;/P&gt;</description>
      <pubDate>Wed, 27 Mar 2024 19:23:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-when-math-h-is-included-while-debugging-getting-the/m-p/1836690#M33543</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-03-27T19:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 when math.h is included while debugging getting the error for acos function</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-when-math-h-is-included-while-debugging-getting-the/m-p/1836892#M33549</link>
      <description>&lt;P&gt;Yes I have added math.h&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Mar 2024 03:42:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-when-math-h-is-included-while-debugging-getting-the/m-p/1836892#M33549</guid>
      <dc:creator>sona1</dc:creator>
      <dc:date>2024-03-28T03:42:15Z</dc:date>
    </item>
    <item>
      <title>Re: s32k144 when math.h is included while debugging getting the error for acos function</title>
      <link>https://community.nxp.com/t5/S32K/s32k144-when-math-h-is-included-while-debugging-getting-the/m-p/1838742#M33687</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/229248"&gt;@sona1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Try just casting the call to the proper return type.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The debugger requires some information before calling the functions if you call a function that returns a value, but generates code as though the function returned a scalar value, calling the function will corrupt the stack of the thread on which the function was called, ruining your debug session.&lt;/P&gt;</description>
      <pubDate>Mon, 01 Apr 2024 18:53:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k144-when-math-h-is-included-while-debugging-getting-the/m-p/1838742#M33687</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2024-04-01T18:53:55Z</dc:date>
    </item>
  </channel>
</rss>

