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

2010-06-09 Thread Joerg Wunsch
Update of bug #22163 (project avr-libc): Severity: 3 - Normal = 4 - Important Priority: 3 - Low = 7 - High ___ Reply to this item at:

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

2008-08-10 Thread Eric Weddington
Update of bug #22163 (project avr-libc): Priority: 5 - Normal = 3 - Low Release:None = Any ___ Reply to this item at:

[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 #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;