Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes

2005-09-09 Thread Royce Pereira
Hi, On Fri, 09 Sep 2005 01:00:44 +0530, Joerg Wunsch [EMAIL PROTECTED] wrote: As Zane D. Purvis wrote: How about changing the name to ISR, which would do the same thing as the existing SIGNAL? Then, SIGNAL and INTERRUPT can both be deprecated (avoiding future confusion). It has been

Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes

2005-09-09 Thread Erik Christiansen
On Thu, Sep 08, 2005 at 10:52:40PM +0200, Joerg Wunsch wrote: As Wojtek Kaniewski wrote: How about... #define VECTOR(signame) \ void SIG_ ## signame (void) __attribute__ ((interrupt)); \ void SIG_ ## signame (void) I don't know. I'm more inclined to use ISR(), but I'd

Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes

2005-09-09 Thread Joerg Wunsch
As Wojtek Kaniewski wrote: What about the SIG_ prefix? If we'll move to something else than SIGNAL(), I think that it should be dropped or somehow hidden from the users. Very good point. I've been thinking about adding a second set of vector names anyway. Our names are completely

Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes

2005-09-09 Thread Björn Haase
Joerg Wunsch wrote on Donnerstag, 8. September 2005 20:50 : As Matthew MacClary wrote: (About whether to keep avr/interrupt.h or avr/signal.h after merging their contents.) My suggestion would be to change INTERRUPT to be the same as SIGNAL, and then deprecate SIGNAL. Sorry, but I

Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes

2005-09-09 Thread Szikra István
For the whole SIGNAL vs INTERRUPT flame: I'm with 'deprecate booth', cause of ambiguous (and maybe a bit stupid) naming. SIGNAL is a normal interrupt, (I'd like INT for it, but integer is already int, so) i really like the ISR name idea. since INTERRUPT is an eXtended interrupt (with a sei) it

Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes

2005-09-09 Thread Dave Hansen
From: Joerg Wunsch [EMAIL PROTECTED] As Wojtek Kaniewski wrote: What about the SIG_ prefix? If we'll move to something else than SIGNAL(), I think that it should be dropped or somehow hidden from the users. Very good point. I've been thinking about adding a second set of vector names

Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes

2005-09-08 Thread gouy yann
--- Zane D. Purvis [EMAIL PROTECTED] a écrit : Joerg Wunsch wrote: As Matthew MacClary wrote: (About whether to keep avr/interrupt.h or avr/signal.h after merging their contents.) My suggestion would be to change INTERRUPT to be the same as SIGNAL, and then deprecate SIGNAL.

Re: [avr-gcc-list] Re: [avr-libc-dev] RFD: more avr-libc API changes

2005-09-08 Thread Wojtek Kaniewski
Joerg Wunsch wrote: I don't know. I'm more inclined to use ISR(), but I'd rather like to see other people's opinions on this. What about the SIG_ prefix? If we'll move to something else than SIGNAL(), I think that it should be dropped or somehow hidden from the users. Obtw., of course,