Disable individual SHARC compiler warnings

SC58x family

CCES 2.8.1

Is there a way to disable a specific compiler warning within the C code?

For example, is there a way to disable the "No break at the end of case" warning on a case by case basis (pun intended).

In Lint, I would add "//lint -fallthrough" before the next case statement.

Parents Reply
  • 0
    •  Analog Employees 
    on May 16, 2019 11:03 AM in reply to DFitzpatrick187

    Hi,

    Can you please confirm that executable(.dxe) file generated successfully, after the project builds.

    If so, you can workaround this by Close and reopen the project in CCES IDDE Project Explorer to make the errors go away  or Unchecking "No Break at end of case" checkbox under "Potential programming problems" via CCES menu, Window > Preferences > C/C++ > Code Analysis.

    Regards,
    Santha kumari.K

Children