Gast
#177361
Hallo! Warum lässt sich dieses Programm (siehe Anhang) nicht
kompilieren? Makefile ist korrekt, ich benutze GCC mit
ProgrammersNotepad2.
Folgende Fehlermeldung kommt:
Compiling: test.c
avr-gcc -c -mmcu=at90s8535 -I. -gstabs -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=test.lst -std=gnu99
-Wp,-M,-MP,-MT,test.o,-MF,.dep/test.o.d test.c -o test.o
test.c: In function `idle_milli':
test.c:11: warning: implicit declaration of function `read_timer_16'
test.c: At top level:
test.c:15: warning: function declaration isn't a prototype
test.c:15: error: conflicting types for 'read_timer_16'
test.c:11: error: previous implicit declaration of 'read_timer_16'
was here
make.exe: *** [test.o] Error 1
> Process Exit Code: 2