#warning "This header file is obsolete. Use <avr/interrupt.h>." 해결방법
프로그래밍2014. 7. 22. 22:11
#warning "This header file is obsolete. Use <avr/interrupt.h>."
위와같은 에러가 나타났을때 해결방법
#include <avr/signal.h> <==생략가능 interrupt.h해더파일로 내용이 옮겨저서 warning 발생
라고한다.
#include <avr/signal.h> 파일을 주석처리하거나 제거해주면
위와같이 에러가 사라진다.
그리고Warning 2 'SIG_OVERFLOW0' appears to be a misspelled signal handler [enabled by default]
이런에러가 나타난다면
clean solution 해준후 다시 컴파일해주면 warning은 사라진다.
#define SIG_OVERFLOW0 _VECTOR(6)
이렇게 define 해줘야 해결된다.
'프로그래밍' 카테고리의 다른 글
Error 1 attempt to use poisoned "SIG_OVERFLOW0" 에러 해결방법 (0) | 2014.08.02 |
---|---|
Atmel Studio 에서 winavr 컴파일러 설정방법 (0) | 2014.08.02 |
windows embedded compact 2013 설치방법 (0) | 2014.07.11 |
error: '::main' must return 'int' 해결방법 (0) | 2014.07.10 |
windows compiler 설정 sublime text 빌드 (0) | 2014.07.10 |