avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] Any way to friend an interrupt handler?


From: Joerg Wunsch
Subject: Re: [avr-chat] Any way to friend an interrupt handler?
Date: Wed, 20 Feb 2013 09:30:21 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

As Rick Mann wrote:

> Thanks, Joerg. I tried using the whole thing the macro spits out,
> 
>     extern "C" void vector (void) __attribute__ ((signal,__INTR_ATTRS)) 
> __VA_ARGS__;
> 
> But the compiler hated that.

Sure, because __VA_ARGS__ is some magic that only works inside
a macro, and __INTR_ATTRS used to be a macro parameter you don't
have within that context.
-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)



reply via email to

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