AVR C Runtime Library - Bugs: bug #24446, _attribute_ should be...
You are not allowed to post comments on this tracker with your current authentication level.
bug #24446: _attribute_ should be __attribute__ (with double underscores)
Submitter: | Juergen Weigert <jnweiger> | ||
Submitted: | Fri 03 Oct 2008 11:55:04 PM UTC | ||
Category: | Documentation | Severity: | 3 - Normal |
Priority: | 5 - Normal | Item Group: | Header files |
Status: | Fixed | Assigned to: | joerg_wunsch |
Percent Complete: | 0% | Open/Closed: | Closed |
Release: | 1.6.2 | Fixed Release: | 1.7.0 |
No files currently attached
Depends on the following items: None found
Items that depend on this one: None found
Carbon-Copy List
Follow 4 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2008-10-04 | joerg_wunsch | Fixed Release | None | 1.7.0 | |
2008-10-04 | joerg_wunsch | Status | None | Fixed | |
Assigned to | None | joerg_wunsch | |||
Open/Closed | Open | Closed |
Powered by Savane 3.13-02a9.
Corresponding source code
the suggested code needs this to compile:
avr/include/avr/wdt.h 2008-09-26 10:25:48.000000000 +0200
+++ ./wdt.h 2008-10-04 01:55:38.000000000 +0200
@@ -70,7 +70,7 @@
#include <stdint.h>
#include <avr/wdt.h>
- uint8_t mcusr_mirror attribute ((section (".noinit")));
+ uint8_t mcusr_mirror _attribute_ ((section (".noinit")));
void get_mcusr(void) \
_attribute_((naked)) \
user-manual-1.6.2/group__avr__watchdog.html 2008-04-02 23:03:07.000000000 +0200
+++ ./group__avr__watchdog.html 2008-10-04 01:51:45.000000000 +0200
@@ -34,7 +34,7 @@
<div class="fragment"><pre class="fragment"><span class="preprocessor"> #include <<a class="code" href="stdint_8h.html">stdint.h</a>></span>
<span class="preprocessor"> #include <<a class="code" href="wdt_8h.html">avr/wdt.h</a>></span>
- <a class="code" href="group__avr__stdint.html#gba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> mcusr_mirror attribute ((section (<span class="stringliteral">".noinit"</span>)));
+ <a class="code" href="group__avr__stdint.html#gba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> mcusr_mirror _attribute_ ((section (<span class="stringliteral">".noinit"</span>)));
<span class="keywordtype">void</span> get_mcusr(<span class="keywordtype">void</span>) \
_attribute_((naked)) \