bugAVR C Runtime Library - Bugs: bug #24446, _attribute_ should be...

 
 

bug #24446: _attribute_ should be __attribute__ (with double underscores)

Submitted by:  Juergen Weigert <jnweiger>
Submitted on:  Fri 03 Oct 2008 11:55:04 PM UTC  
 
Category: DocumentationSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Header files
Status: FixedPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Open/Closed: Closed
Release: 1.6.2Fixed Release: 1.7.0

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Fri 03 Oct 2008 11:55:04 PM UTC, original submission:

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 &lt;<a class="code" href="stdint_8h.html">stdint.h</a>&gt;</span>
<span class="preprocessor"> #include &lt;<a class="code" href="wdt_8h.html">avr/wdt.h</a>&gt;</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)) \

Juergen Weigert <jnweiger>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by joerg_wunsch (Updated the item)
  • -unavailable- added by jnweiger (Submitted the item)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 04 Oct 2008 01:55:44 PM UTCjoerg_wunschFixed ReleaseNone=>1.7.0
    Sat 04 Oct 2008 01:55:18 PM UTCjoerg_wunschStatusNone=>Fixed
      Assigned toNone=>joerg_wunsch
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1