avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #24446] _attribute_ should be __attribute__ (with do


From: Juergen Weigert
Subject: [avr-libc-dev] [bug #24446] _attribute_ should be __attribute__ (with double underscores)
Date: Fri, 03 Oct 2008 23:55:07 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.9 (like Gecko) SUSE

URL:
  <http://savannah.nongnu.org/bugs/?24446>

                 Summary: _attribute_ should be __attribute__ (with double
underscores)
                 Project: AVR C Runtime Library
            Submitted by: jnweiger
            Submitted on: Fri 03 Oct 2008 11:55:04 PM GMT
                Category: Documentation
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Header files
                  Status: None
        Percent Complete: 0%
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 1.6.2
           Fixed Release: None

    _______________________________________________________

Details:

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)) \





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?24446>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]