AVR C Runtime Library - Bugs: bug #38904, ...
You are not allowed to post comments on this tracker with your current authentication level.
bug #38904: /usr/avr/include/util/delay.h:248:10: note: '__ticks' was declared here
Submitter: | Jaroslaw Siebert <y0g1> | ||
Submitted: | Mon 06 May 2013 12:22:16 PM UTC | ||
Category: | Header | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | Header files |
Status: | None | Assigned to: | None |
Percent Complete: | 0% | Open/Closed: | Open |
Release: | 1.8.0 | Fixed Release: | None |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
No changes have been made to this item
Powered by Savane 3.13-3230.
Corresponding source code
Changes from 2013-05-03 introduce bug in:
/usr/avr/include/util/delay.h
With gcc-4.8 I get:
usr/avr/include/util/delay_basic.h:83:2: error: '__ticks' may be used
uninitialized in this function [-Werror=maybe-uninitialized]
_asm_ volatile (
^
/usr/avr/include/util/delay.h:248:10: note: '__ticks' was declared here
uint8_t __ticks;
^
lto1: all warnings being treated as errors
make[1]: * [/tmp/ccVIU3hR.ltrans8.ltrans.o] Błąd 1
Maybe there is an error in /usr/avr/include/util/delay.h ?
_delay_loop_1(__ticks) should be run always or it should be in braces with:
else {
__ticks = (uint8_t)__tmp;
_delay_loop_1(__ticks);
}