o.K. Also corde duo das kommt heraus bei deiner Funktion.
Code:
> "C:\ASURO_src\FirstTry\Test-all.bat"
C:\ASURO_src\FirstTry>make all
set -e; avr-gcc -MM -mmcu=atmega8 -I. -g -Os -funsigned-char -funsigned-bitfields -fpack-struct -fshort-enums -Wall -Wstrict-prototypes -Wa,-ahlms=test.lst test.c \
| sed 's,\(.*\)\.o[ :]*,\1.o \1.d : ,g' > test.d; \
[ -s test.d ] || rm -f test.d
-------- begin --------
avr-gcc --version
avr-gcc (WinAVR 20090313) 4.3.2
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.
Size before:
test.elf :
section size addr
.text 1704 0
.bss 1 8388704
.debug_aranges 64 0
.debug_pubnames 263 0
.debug_info 1072 0
.debug_abbrev 414 0
.debug_line 1142 0
.debug_frame 288 0
.debug_str 360 0
.debug_loc 388 0
Total 5696
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: In function 'PrintInt':
test.c:11: warning: implicit declaration of function 'itoa'
test.c:12: warning: implicit declaration of function 'strlen'
test.c:12: warning: incompatible implicit declaration of built-in function 'strlen'
test.c:12: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c: In function 'main':
test.c:21: warning: pointer targets in passing argument 1 of 'SerWrite' differ in signedness
test.c:27: error: expected declaration or statement at end of input
make: *** [test.o] Error 1
> Process Exit Code: 2
> Time Taken: 00:02
Lesezeichen