Hallo Bernhard,
Also die Fehlermeldung Zeile 39 wegen Prototyp hättest du doch nochmaliges Lesen meines oberen Posts garantiert rausgekriegt
Das hatte ich gestern versucht, aber es gab eine Fehlermeldung mehr. Drum habe ich es wieder rausgenommen.
Jetzt habe ich die Fehlermeldung zwei mal "funktion declaration isn't a prototype"
Code:
> "make.exe" all
-------- begin --------
avr-gcc (GCC) 4.1.2 (WinAVR 20070525)
Copyright (C) 2006 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:42: warning: function declaration isn't a prototype
srf05new.c:45: warning: function declaration isn't a prototype
srf05new.c: In function 'usonic':
srf05new.c:88: error: expected expression before 'int'
make.exe: *** [srf05new.o] Error 1
> Process Exit Code: 2
> Time Taken: 00:02
Lesezeichen