avr-gcc -c -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c -o test.o
test.c:5: error: parse error before "MyPollSwitch"
test.c:6: warning: return type defaults to `int'
test.c: In function `MyPollSwitch':
test.c:7: error: `uint16_t' undeclared (first use in this function)
test.c:7: error: (Each undeclared identifier is reported only once
test.c:7: error: for each function it appears in.)
test.c:7: error: parse error before "i"
test.c:19: error: `i' undeclared (first use in this function)
test.c: In function `SwitchTest':
test.c:30: error: `uint8_t' undeclared (first use in this function)
test.c:30: error: parse error before "i"
test.c:31: error: `uint16_t' undeclared (first use in this function)
test.c:33: error: `i' undeclared (first use in this function)
test.c:35: warning: implicit declaration of function `SerPrint'
test.c:36: warning: implicit declaration of function `PrintInt'
test.c:39: error: `adval' undeclared (first use in this function)
test.c:44: error: `j' undeclared (first use in this function)
test.c:46: error: `mval' undeclared (first use in this function)
test.c:53: warning: implicit declaration of function `Msleep'
test.c:67:2: warning: no newline at end of file
make: *** [test.o] Error 1
> Process Exit Code: 2
Lesezeichen