[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-gcc-list] Re: [avr-libc-dev] Warning messages

From: Dmitry K.
Subject: Re: [avr-gcc-list] Re: [avr-libc-dev] Warning messages
Date: Tue, 4 Mar 2008 08:20:09 +1000
User-agent: KMail/1.5

On Tuesday 04 March 2008 05:52, Joerg Wunsch wrote:
> As Ron Kreymborg wrote:
> > Using the asm keyword in C++ code to directly vector interrupts to a
> > class handler (as in the CLASS_IRQ macro discussed earlier on this
> > list) still leaves the mangled name which avr-gcc subsequently flags
> > as a "misspelled signal handler".

IMHO, the presence of this check in GCC is bad decision entirely.
The misspelled error must to abort of program building, but with
GCC the warning is possible only.

The better method is to add checking into Avr-libc: as Avr-libc
is busy by ISR vectors, so Avr-libc must to check names. There
is a decision based on C preprocessor's manipulations: it was
disscussed a few years ago.  It prevents building if there is
a misprint in ISR name.  More, it works with asm sources also.

What about to move misspelled check into Avr-libc?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]