Hallo,
ich verwende WINAVR zusammen mit eclipse.
In manchen Programmteilen (z.B. P.Fleurys UART-lib) wird folgendes
Konstrukt verwendet:
1 | #if (__GNUC__ * 100 + __GNUC_MINOR__) < 304
|
2 | #error "This library requires AVR-GCC 3.4 or later, update to newer AVR-GCC compiler !"
|
3 | #endif
|
Eclipse meint nun immer, an diesen Stellen ein "C/C++ indexer problem"
anbringen zu müssen, obwohl das ja lediglich eine Sicherheitsabfrage
ist.
Ich hatte mal bei Google gesucht und folgenden Rat gefunden:
...
For a second problem if you are using standard make add coresponding
definition to C/C++ Include Paths & Symbols by pressing Add preprocessor
Symbol... button in project properties.
Was genau soll ich denn da definieren?
Gruss
Andreas