Re: [avr-gcc-list] rjmp to an absolute address

2007-11-08 Thread Shaun Jackman
On Nov 7, 2007 7:07 PM, Erik Christiansen <[EMAIL PROTECTED]> wrote: > On Wed, Nov 07, 2007 at 05:04:05PM -0700, Shaun Jackman wrote: > > > > Is there a way in source code to use the rjmp instruction to jump to > > an absolute address (not relative to the section offset) without using > > a linker

Re: [avr-gcc-list] Paste structure tokens with the preprocessor ##?

2007-11-08 Thread Joerg Wunsch
As Bob Paddock wrote: > >That's not the purpose of that operator. > The solution turns out to be just don't use > the ## operator at all, and I got the > effect that I wanted. That's what I somewhat expected... -- cheers, J"org .-.-. --... ...-- -.. . DL8DTL http://www.sax.

Re: [avr-gcc-list] Paste structure tokens with the preprocessor ##?

2007-11-08 Thread Bob Paddock
On Thu, 08 Nov 2007 14:23:27 -0500, Joerg Wunsch <[EMAIL PROTECTED]> wrote: Is it valid to paste structure tokens with the preprocessor ## operator? That's not the purpose of that operator. The solution turns out to be just don't use the ## operator at all, and I got the effect that I want

Re: [avr-gcc-list] Paste structure tokens with the preprocessor ##?

2007-11-08 Thread Joerg Wunsch
"Bob Paddock" <[EMAIL PROTECTED]> wrote: > Is it valid to paste structure tokens with > the preprocessor ## operator? That's not the purpose of that operator. It's rather intended to allow forming completely new identifiers out of fragments, as in: #define HD44780_PORT A #define GLUE(a, b)

[avr-gcc-list] Paste structure tokens with the preprocessor ##?

2007-11-08 Thread Bob Paddock
Is it valid to paste structure tokens with the preprocessor ## operator? I get one of two errors, depending on if I do "X.##M" or "X##M": 'error: pasting "." and "Accel_mo_setting_x_u16" does not give a valid preprocessing token.' What happend to the text before the dot? or 'EE_PROM' has no m