<?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 Symbol could not be resolved, but build successful in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627532#M832</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there a way to have the code&amp;nbsp;organized like this, such that the s32 doesn't generate errors? The error reported will be&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Symbol 'INCREMENT_STEP' could not be resolved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;main.c&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;#ifndef MAIN_C_&lt;BR /&gt;#define MAIN_C_&lt;BR /&gt;#include "main.h"&lt;/P&gt;&lt;P&gt;int main(void) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;uint8_t counter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while(1) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;counter += INCREMENT_STEP;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;#endif // #ifndef MAIN_C_&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;&amp;lt;&amp;lt;main.h&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#ifndef MAIN_H_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define MAIN_H_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//global constant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define GLOBAL 10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#ifdef MAIN_C_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//private constants&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define INCREMENT_STEP 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#endif // #ifdef MAIN_C_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#endif // #ifndef MAIN_H_&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is a legit code which will get built successfully, but the s32 will report an error since its "live compiler" isn't aware that the MAIN_C_ will be defined when main.c includes main.h. I don't want to suppress&amp;nbsp;all errors, and I don't like suppressing all "symbol could not be resolved" errors. I know I can use #pragma for inline error suppression, but that would make the code messy. Any alternatives?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 03 Nov 2016 09:19:17 GMT</pubDate>
    <dc:creator>hrvojeerjavec</dc:creator>
    <dc:date>2016-11-03T09:19:17Z</dc:date>
    <item>
      <title>Symbol could not be resolved, but build successful</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627532#M832</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;is there a way to have the code&amp;nbsp;organized like this, such that the s32 doesn't generate errors? The error reported will be&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Symbol 'INCREMENT_STEP' could not be resolved.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;&amp;lt;&amp;lt;main.c&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;#ifndef MAIN_C_&lt;BR /&gt;#define MAIN_C_&lt;BR /&gt;#include "main.h"&lt;/P&gt;&lt;P&gt;int main(void) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;uint8_t counter;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while(1) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;counter += INCREMENT_STEP;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;#endif // #ifndef MAIN_C_&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;&amp;lt;&amp;lt;main.h&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#ifndef MAIN_H_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define MAIN_H_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//global constant&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define GLOBAL 10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#ifdef MAIN_C_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;//private constants&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#define INCREMENT_STEP 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#endif // #ifdef MAIN_C_&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;#endif // #ifndef MAIN_H_&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is a legit code which will get built successfully, but the s32 will report an error since its "live compiler" isn't aware that the MAIN_C_ will be defined when main.c includes main.h. I don't want to suppress&amp;nbsp;all errors, and I don't like suppressing all "symbol could not be resolved" errors. I know I can use #pragma for inline error suppression, but that would make the code messy. Any alternatives?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 09:19:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627532#M832</guid>
      <dc:creator>hrvojeerjavec</dc:creator>
      <dc:date>2016-11-03T09:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Symbol could not be resolved, but build successful</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627533#M833</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which version of S32DS you use? for power or for ARM? I have tested the use case in S32DS for power version 1.1 with update 1 and it seems this error does not appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But there was a problem with parsing in previous version of S32DS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please write me back the version and in case you do not use the newest one, please install it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 15:01:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627533#M833</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-11-03T15:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Symbol could not be resolved, but build successful</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627534#M834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I haven't installed the latest update, I will now. Thank you for the prompt response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 15:06:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627534#M834</guid>
      <dc:creator>hrvojeerjavec</dc:creator>
      <dc:date>2016-11-03T15:06:35Z</dc:date>
    </item>
    <item>
      <title>Re: Symbol could not be resolved, but build successful</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627535#M835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Updating the S32DS seems to have fixed the problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Hrvoje&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 15:36:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627535#M835</guid>
      <dc:creator>hrvojeerjavec</dc:creator>
      <dc:date>2016-11-03T15:36:39Z</dc:date>
    </item>
    <item>
      <title>Re: Symbol could not be resolved, but build successful</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627536#M836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Oh sorry, the S32 version was&amp;nbsp;S32 Design Studio for Power Architecture v1.1 without update. Now it is updated and working.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 15:42:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Symbol-could-not-be-resolved-but-build-successful/m-p/627536#M836</guid>
      <dc:creator>hrvojeerjavec</dc:creator>
      <dc:date>2016-11-03T15:42:26Z</dc:date>
    </item>
  </channel>
</rss>

