Re: [avr-libc-dev] [RFC] New eeprom.h

2008-01-30 Thread Wouter van Gulik
Weddington, Eric schreef: Mainly because this is a total rewrite of the implementation. The API (interface) stays the same. I'm certainly fine with putting the old copyrights back on. I thought the address thingy was taken from Bjoern Haasse's implementation. So that's why I thought he

[avr-libc-dev] [bug #22163] Everytime ATOMIC_BLOCK(ATOMIC_RESTORESTATE) compiler generates warning - unused variable 'sreg_save'

2008-01-30 Thread Eric Weddington
Follow-up Comment #1, bug #22163 (project avr-libc): Tomasz, Could you please post a small test case that gives this warning? ___ Reply to this item at: http://savannah.nongnu.org/bugs/?22163

[avr-libc-dev] [bug #22163] Everytime ATOMIC_BLOCK(ATOMIC_RESTORESTATE) compiler generates warning - unused variable 'sreg_save'

2008-01-30 Thread Lars Jonsson
Follow-up Comment #2, bug #22163 (project avr-libc): I have not seen this warning despite having used this macro in several projects. Are you using C++ Tomasz (I only have C projects)? ___ Reply to this item at:

[avr-libc-dev] [bug #22182] -mint8 kills stdio

2008-01-30 Thread Juergen Weigert
URL: http://savannah.nongnu.org/bugs/?22182 Summary: -mint8 kills stdio Project: AVR C Runtime Library Submitted by: jnweiger Submitted on: Wednesday 01/30/2008 at 20:58 Category: Library Severity: 3 -

[avr-libc-dev] [bug #22182] -mint8 kills stdio

2008-01-30 Thread Juergen Weigert
Follow-up Comment #1, bug #22182 (project avr-libc): This happened with avr-libc-1.4.6 ___ Reply to this item at: http://savannah.nongnu.org/bugs/?22182 ___ Message sent via/by Savannah

[avr-libc-dev] [bug #22182] -mint8 kills stdio

2008-01-30 Thread Eric Weddington
Update of bug #22182 (project avr-libc): Status:None = Wont Fix Assigned to:None = arcanum Open/Closed:Open = Closed

[avr-libc-dev] [bug #22163] Everytime ATOMIC_BLOCK(ATOMIC_RESTORESTATE) compiler generates warning - unused variable 'sreg_save'

2008-01-30 Thread Tomasz Francuz
Follow-up Comment #3, bug #22163 (project avr-libc): Sorry, but mistake I didn't mention that I'm using avr-g++ compiler. When using avr-gcc everything is working perfectly, but in g++ the following code produces warning: #include util/atomic.h int main() { volatile int b,a; a=0; b=0;

[avr-libc-dev] Re: C++ Interrupts

2008-01-30 Thread Ron Kreymborg
IMHO the only way is to define the interrupt method in the class with interrupt attributes and then alias the mangled name to the AVR vector so the compiler can find it during global name reconciliation. This would be very neat and simple if we could develop a simple name mangling macro.