Note that there are some explanatory texts on larger screens.

plurals
  1. POeclipse C project shows errors (Symbol could not be resolved) but it compiles
    text
    copied!<p>I have got access to a C project at work that I have to implement some stuff in. I was able to load it into eclipse and can <code>Project -&gt; Build All</code> it. Compilation shows no errors or warnings. But in eclipse, there are a lot of errors shown. One example:</p> <hr> <p>There is an enum</p> <pre><code>typedef enum MeasurementType { PN, BB, AM, RES } MEAS_TYPE; MEAS_TYPE type; </code></pre> <p>in one of the files. It is used somewhere else and produces an error like this: <img src="https://i.stack.imgur.com/JO251.png" alt="enter image description here"></p> <p>It is most interesting, that only <code>AM</code> seems to be a problem, not <code>PN</code> or <code>BB</code>. </p> <hr> <p>I haven't found a satisfying solution to this. I already tried to include all possible directories I could think of in <code>Project Properties -&gt; C/C++ General -&gt; Paths and Symbols</code> (like <a href="https://stackoverflow.com/a/10554556/1137043">this post</a> suggests), but that didn't help.</p> <p>The project itself is compiled with Makefiles (which is why I need <code>Project -&gt; Build All</code>). Can it be that eclipse does not interpret those Makefiles correctly or something? I am a bit lost after messing around with that stuff for a few hours and not getting a single step forward.</p> <p>EDIT: Here are some screenshots for my build-relevant project properties (at least I believe they are relevent :D). Tell me if you need more information.</p> <p><img src="https://i.stack.imgur.com/I8m1z.png" alt="enter image description here"> <img src="https://i.stack.imgur.com/8x8ZO.png" alt="enter image description here"></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload