[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-gcc-list] question to Avr-gcc maintainers
From: |
Theodore A. Roth |
Subject: |
Re: [avr-gcc-list] question to Avr-gcc maintainers |
Date: |
Sat, 5 Jun 2004 17:03:43 -0700 (PDT) |
On Sat, 5 Jun 2004, harshit suri wrote:
> interrupt handler:
> SIGNAL (SIGNAL_OUTPUT_COMPARE3A)
> {
> blah;
> }
> *compiler compiles and links without error and
> warning*
>
> qns:
>
> 1) Why does the compiler at least not warn me that
> SIGNAL_OUTPUT_COMPARE3A is not defined/declared?
> Time is wasted in debugging a simple spelling mistake
> Correct spelling is : SIG_OUTPUT_COMPARE3A
> Why doesnt avr-gcc take care of this?
>
> 2)How did the compiler compile this successfully. i
> have not even declared SIGNAL_OUTPUT_COMPARE3A ?
Please study these files in avr-libc:
crt1/gcrt1.S
include/avr/signal.h
include/avr/io*.h
You might be interested in the patch for gcc that submitted:
http://savannah.nongnu.org/bugs/?func=detailitem&item_id=8643
---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden