I'm using Eclipse CDT Mars 4.5.0 20150621-1200 on Linux for a firmware project involving AVR microcontrollers. Eclipse is giving me errors like "Type 'uint8_t' could not be resolved".
I properly added /usr/lib/avr/include
to Project properties -> C/C++ General -> Paths and Symbols -> Includes.
When I try to open the declaration of uint8_t
in Eclipse I get the following offerings:
This suggests me that Eclipse detected 2 declarations and cannot decide which is the right one. It's strange to me because /usr/include
is not featured under Paths and Symbols -> Includes.
How to fix this pain? Thanks!