Hallo,
ich habe mich jetzt durchgerungen den neusten WinAVR-20071221 zu
installieren. Wie zu erwarten war Milliarden an Warnungen und Fehlern
:-( HEUL
Hat sich jemand schon mal mit den Änderungen befasst die vorgenommen
werden müssen?
> "make.exe" all
-------- begin --------
avr-gcc (GCC) 4.2.2 (WinAVR 20071221)
Copyright (C) 2007 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: mmc.c
avr-gcc -c -mmcu=atmega644 -I. -g -Os -funsigned-char
-funsigned-bitfields -fpack-struct -fshort-enums -Wall
-Wstrict-prototypes -Wa,-adhlns=mmc.lst -std=gnu99 mmc.c -o mmc.o
In file included from main.h:34,
from mmc.c:29:
mmc.h:43:1: warning: "SPCR" redefined
In file included from
c:/programme/winavr/bin/../avr/include/avr/iom644.h:38,
from
c:/programme/winavr/bin/../avr/include/avr/io.h:155,
from main.h:15,
from mmc.c:29:
c:/programme/winavr/bin/../avr/include/avr/iomxx4.h:267:1: warning: this
is the location of the previous definition
In file included from main.h:34,
from mmc.c:29:
mmc.h:44:1: warning: "SPE" redefined
In file included from
c:/programme/winavr/bin/../avr/include/avr/iom644.h:38,
from
c:/programme/winavr/bin/../avr/include/avr/io.h:155,
from main.h:15,
from mmc.c:29:
c:/programme/winavr/bin/../avr/include/avr/iomxx4.h:269:1: warning: this
is the location of the previous definition
In file included from main.h:34,
from mmc.c:29:
mmc.h:45:1: warning: "MSTR" redefined
In file included from
c:/programme/winavr/bin/../avr/include/avr/iom644.h:38,
from
c:/programme/winavr/bin/../avr/include/avr/io.h:155,
from main.h:15,
from mmc.c:29:
c:/programme/winavr/bin/../avr/include/avr/iomxx4.h:271:1: warning: this
is the location of the previous definition
In file included from main.h:34,
from mmc.c:29:
mmc.h:46:1: warning: "SPSR" redefined
In file included from
c:/programme/winavr/bin/../avr/include/avr/iom644.h:38,
from
c:/programme/winavr/bin/../avr/include/avr/io.h:155,
from main.h:15,
from mmc.c:29:
c:/programme/winavr/bin/../avr/include/avr/iomxx4.h:277:1: warning: this
is the location of the previous definition
In file included from main.h:34,
from mmc.c:29:
mmc.h:47:1: warning: "SPDR" redefined
In file included from
c:/programme/winavr/bin/../avr/include/avr/iom644.h:38,
from
c:/programme/winavr/bin/../avr/include/avr/io.h:155,
from main.h:15,
from mmc.c:29:
c:/programme/winavr/bin/../avr/include/avr/iomxx4.h:282:1: warning: this
is the location of the previous definition
In file included from main.h:34,
from mmc.c:29:
mmc.h:48:1: warning: "SPIF" redefined
In file included from
c:/programme/winavr/bin/../avr/include/avr/iom644.h:38,
from
c:/programme/winavr/bin/../avr/include/avr/io.h:155,
from main.h:15,
from mmc.c:29:
c:/programme/winavr/bin/../avr/include/avr/iomxx4.h:278:1: warning: this
is the location of the previous definition
In file included from main.h:34,
from mmc.c:29:
mmc.h:49:1: warning: "SPR0" redefined
In file included from
c:/programme/winavr/bin/../avr/include/avr/iom644.h:38,
from
c:/programme/winavr/bin/../avr/include/avr/io.h:155,
from main.h:15,
from mmc.c:29:
c:/programme/winavr/bin/../avr/include/avr/iomxx4.h:275:1: warning: this
is the location of the previous definition
In file included from main.h:34,
from mmc.c:29:
mmc.h:50:1: warning: "SPR1" redefined
In file included from
c:/programme/winavr/bin/../avr/include/avr/iom644.h:38,
from
c:/programme/winavr/bin/../avr/include/avr/io.h:155,
from main.h:15,
from mmc.c:29:
c:/programme/winavr/bin/../avr/include/avr/iomxx4.h:274:1: warning: this
is the location of the previous definition
In file included from main.h:34,
from mmc.c:29:
mmc.h:51:1: warning: "SPI2X" redefined
In file included from
c:/programme/winavr/bin/../avr/include/avr/iom644.h:38,
from
c:/programme/winavr/bin/../avr/include/avr/io.h:155,
from main.h:15,
from mmc.c:29:
c:/programme/winavr/bin/../avr/include/avr/iomxx4.h:280:1: warning: this
is the location of the previous definition
mmc.c: In function 'mmc_init':
mmc.c:54: error: 'SPCR0' undeclared (first use in this function)
mmc.c:54: error: (Each undeclared identifier is reported only once
mmc.c:54: error: for each function it appears in.)
mmc.c:54: error: 'SPE0' undeclared (first use in this function)
mmc.c:54: error: 'MSTR0' undeclared (fir
mmc.c:54: error: 'SPR00' undeclared (first use in this function)st use
in this function)
mmc.c:54: error: 'SPR01' undeclared (first use in this function)
mmc.c:55: error: 'SPSR0' undeclared (first use in this function)
mmc.c:55: error: 'SPI2X0' undeclared (first use in this function)
mmc.c: At top level:
mmc.c:137: warning: C99 inline functions are not supported; using GNU89
mmc.c:137: warning: to disable this warning use -fgnu89-inline or the
gnu_inline function attribute
mmc.c: In function 'Read_Byte_MMC':
mmc.c:140: error: 'SPDR0' undeclared (first use in this function)
mmc.c:141: error: 'SPSR0' undeclared (first use in this function)
mmc.c:141: error: 'SPIF0' undeclared (first use in this function)
mmc.c: At top level:
mmc.c:167: warning: C99 inline functions are not supported; using GNU89
mmc.c: In function 'Write_Byte_MMC':
mmc.c:169: error: 'SPDR0' undeclared (first use in this function)
mmc.c:170: error: 'SPSR0' undeclared (first use in this function)
mmc.c:170: error: 'SPIF0' undeclared (first use in this function)
make.exe: *** [mmc.o] Error 1
> Process Exit Code: 2
> Time Taken: 00:00