Das mit der Version hat nicht viel gebracht...
So sieht die Fehlerliste jetzt aus:
Code:
-------- begin --------
avr-gcc (WinAVR 20100110) 4.3.3
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Compiling: srf05new.c
avr-gcc -c -mmcu=atmega32 -I. -gdwarf-2 -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-adhlns=srf05new.lst -I../../RP6lib -I../../RP6lib/RP6control -I../../RP6lib/RP6common -std=gnu99 -MD -MP -MF .dep/srf05new.o.d srf05new.c -o srf05new.o
srf05new.c:25: warning: function declaration isn't a prototype
srf05new.c:28: warning: function declaration isn't a prototype
srf05new.c: In function 'usonic':
srf05new.c:38: warning: implicit declaration of function 'usleep'
srf05new.c:71: error: expected expression before 'int'
srf05new.c: At top level:
srf05new.c:108: warning: conflicting types for 'usleep'
srf05new.c:38: warning: previous implicit declaration of 'usleep' was here
make: *** [srf05new.o] Error 1
> Process Exit Code: 2
> Time Taken: 00:01
Lesezeichen