Knowledge Base Article

Unexplained Errors After Compilation in Nios II Software Build Tools for Eclipse

Description

After compiling a project with the Nios II Software Build Tools for Eclipse, you might encounter a <function/symbol> could not be resolved message, or unexpected error markers in the Eclipse text editor, even though the compilation is successful.

Resolution

To prevent the messages and markers from appearing, turn off the Code Analysis (codan) feature in the C/C Development Toolkit, as follows:

  1. Select the project.
  2. On the Project menu, point to Properties, then C/C , and click Code Analysis.
  3. The Code Analysis dialog box shows the following problem categories:

    - Potential Programming Problems

    - Coding Style

    - Syntax and Semantic Errors

    - Security Vulnerabilities

    Each category lists warnings and errors that you can turn on or off.

  4. Turn off the unwanted warnings and errors and click Apply.

If the error markers persist, delete them from the Problems view.

Updated 3 months ago
Version 2.0
No CommentsBe the first to comment