Hi Ich habe diese Funkuhr gebaut: http://www.mikrocontroller.net/articles/DCF77-Funkwecker_mit_AVR Wenn ich den Code nun im Atmel Studio kompilieren will kommen diese Fehlermeldungen:
1 | Warning 1 #warning "This header file is obsolete. Use <avr/interrupt.h>." [-Wcpp] e:\atmel toolchain\avr8 gcc\native\3.4.1051\avr8-gnu-toolchain\avr\include\avr\signal.h 36 2 GccApplication1 |
2 | Error 2 attempt to use poisoned "SIG_INTERRUPT0" D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\dcf77.h 26 9 GccApplication1 |
3 | Error 3 attempt to use poisoned "SIG_OVERFLOW0" D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\dcf77.h 27 9 GccApplication1 |
4 | Error 4 attempt to use poisoned "SIG_OVERFLOW1" D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\timerfunctions.h 27 9 GccApplication1 |
5 | Error 5 attempt to use poisoned "SIG_OVERFLOW2" D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\timerfunctions.h 28 9 GccApplication1 |
6 | Error 6 attempt to use poisoned "SIG_OVERFLOW1" D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\timerfunctions.c 3 9 GccApplication1 |
7 | Warning 7 'SIG_OVERFLOW1' appears to be a misspelled signal handler [enabled by default] D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\timerfunctions.c 3 9 GccApplication1 |
8 | Error 8 attempt to use poisoned "SIG_OVERFLOW2" D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\timerfunctions.c 59 9 GccApplication1 |
9 | Warning 9 'SIG_OVERFLOW2' appears to be a misspelled signal handler [enabled by default] D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\timerfunctions.c 59 9 GccApplication1 |
10 | Warning 10 pointer targets in passing argument 2 of 'itoa' differ in signedness [-Wpointer-sign] D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\dcf77.c 108 2 GccApplication1 |
11 | Message 11 expected 'char *' but argument is of type 'unsigned char *' e:\atmel toolchain\avr8 gcc\native\3.4.1051\avr8-gnu-toolchain\avr\include\stdlib.h 418 7 GccApplication1 |
12 | Warning 12 pointer targets in passing argument 2 of 'itoa' differ in signedness [-Wpointer-sign] D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\dcf77.c 167 2 GccApplication1 |
13 | Message 13 expected 'char *' but argument is of type 'unsigned char *' e:\atmel toolchain\avr8 gcc\native\3.4.1051\avr8-gnu-toolchain\avr\include\stdlib.h 418 7 GccApplication1 |
14 | Error 14 attempt to use poisoned "SIG_INTERRUPT0" D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\dcf77.c 196 9 GccApplication1 |
15 | Warning 15 'SIG_INTERRUPT0' appears to be a misspelled signal handler [enabled by default] D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\dcf77.c 196 9 GccApplication1 |
16 | Error 16 attempt to use poisoned "SIG_OVERFLOW0" D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\dcf77.c 206 9 GccApplication1 |
17 | Warning 17 'SIG_OVERFLOW0' appears to be a misspelled signal handler [enabled by default] D:\Dokumente\AVR\Funkuhr\GccApplication1\GccApplication1\dcf77.c 206 9 GccApplication1 |
lgd