I got "Field 'xxx' could not be resolved" Semantic Error

Hello,

My environment is followings.

CCES2.7.0

ADSP-SC584

C-language

I got following error message while project building.

Field 'bFlgRedownload' could not be resolved adi_ss_app_sh0.c /SS_App_Core1/Source line 262 Semantic Error

The code to be errored is as follows.

{

         pAppSharcCore0Info->oFWConfig.bFlgRedownload = true;

}

Simple thinking is that the field can not be found in this structure.

However, the field of this structure exist without any doubt.

There is no error in syntax.

I guess it is a setting or option issue on CCES.

Please tell me know what is missing.

Thanks and Regards,

T.Tanaka

Parents
  • +1
    •  Analog Employees 
    on Aug 16, 2018 10:42 AM over 2 years ago

    Hi,

    We understand that you have already contacted our private support. Please continue the discussion there. We are posting the response here for others to benefit.

    These errors are falsely reported in the problems view and in editor. Can you please confirm that executable and loader file generated successfully after the project builds.

    You can workaround this by Close and reopen the project in IDDE Project Explorer to make the errors go away.
    or
    Unchecking "Field cannot be resolved" checkbox in "Syntax and Semantic Errors" of "Code Analysis", in Preferences -> C/C++.

    Regards,
    Reva

Reply
  • +1
    •  Analog Employees 
    on Aug 16, 2018 10:42 AM over 2 years ago

    Hi,

    We understand that you have already contacted our private support. Please continue the discussion there. We are posting the response here for others to benefit.

    These errors are falsely reported in the problems view and in editor. Can you please confirm that executable and loader file generated successfully after the project builds.

    You can workaround this by Close and reopen the project in IDDE Project Explorer to make the errors go away.
    or
    Unchecking "Field cannot be resolved" checkbox in "Syntax and Semantic Errors" of "Code Analysis", in Preferences -> C/C++.

    Regards,
    Reva

Children
No Data