[avr-libc-dev] [bug #24446] _attribute_ should be __attribute__ (with double underscores)

2008-10-03 Thread Juergen Weigert

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.h2008-09-26 10:25:48.0 +0200
+++ ./wdt.h 2008-10-04 01:55:38.0 +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.html2008-04-02
23:03:07.0 +0200
+++ ./group__avr__watchdog.html 2008-10-04 01:51:45.0 +0200
@@ -34,7 +34,7 @@
 div class=fragmentpre class=fragmentspan class=preprocessor   
#include lt;a class=code href=stdint_8h.htmlstdint.h/agt;/span
 span class=preprocessor#include lt;a class=code
href=wdt_8h.htmlavr/wdt.h/agt;/span
 
-a class=code
href=group__avr__stdint.html#gba7bc1797add20fe3efdf37ced1182c5uint8_t/a
mcusr_mirror _attribute_ ((section (span
class=stringliteral.noinit/span)));
+a class=code
href=group__avr__stdint.html#gba7bc1797add20fe3efdf37ced1182c5uint8_t/a
mcusr_mirror __attribute__ ((section (span
class=stringliteral.noinit/span)));
 
 span class=keywordtypevoid/span get_mcusr(span
class=keywordtypevoid/span) \
   __attribute__((naked)) \





___

Reply to this item at:

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

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



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #24375] no FUSE_* defs for atmega48

2008-09-25 Thread Juergen Weigert

URL:
  http://savannah.nongnu.org/bugs/?24375

 Summary: no FUSE_* defs for atmega48
 Project: AVR C Runtime Library
Submitted by: jnweiger
Submitted on: Thu 25 Sep 2008 04:04:49 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: None
  Status: None
Percent Complete: 0%
 Assigned to: None
 Open/Closed: Open
 Discussion Lock: Any
 Release: 1.6.2
   Fixed Release: None

___

Details:

echo #include avr/io.h | avr-gcc -mmcu=atmega48 -E -CC -dN - | grep
'^#define FUSE_'
echo #include avr/io.h | avr-gcc -mmcu=atmega48p -E -CC -dN - | grep
'^#define FUSE_'
echo #include avr/io.h | avr-gcc -mmcu=atmega88 -E -CC -dN - | grep
'^#define FUSE_'

I get 18 defines for atmega48p and atmega88, but none for atmega48.




___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?24375

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



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #24375] no FUSE_* defs for atmega48

2008-09-25 Thread Juergen Weigert

Follow-up Comment #2, bug #24375 (project avr-libc):

Already fixed. Thanks.

___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?24375

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



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #24323] many headers define EFUSE_DEFAULT as 0xff inconsistently

2008-09-22 Thread Juergen Weigert

Follow-up Comment #2, bug #24323 (project avr-libc):

You are right.
I missed the '~' in ~_BV(), sorry.

Please close as invalid.

___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?24323

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



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #22182] -mint8 kills stdio

2008-01-30 Thread Juergen Weigert

URL:
  http://savannah.nongnu.org/bugs/?22182

 Summary: -mint8 kills stdio
 Project: AVR C Runtime Library
Submitted by: jnweiger
Submitted on: Wednesday 01/30/2008 at 20:58
Category: Library
Severity: 3 - Normal
Priority: 5 - Normal
  Item Group: None
  Status: None
Percent Complete: 0%
 Assigned to: None
Originator Email: 
 Open/Closed: Open
 Discussion Lock: Any

___

Details:

printf() putchar() and friends, using
static FILE mystdout = FDEV_SETUP_STREAM(uart_putchar, NULL,
_FDEV_SETUP_WRITE);
crash, when the code is compiled with -mint8. My tests run fine without
-mint8.

I suggest to add a guard against -mint8 to stdio.h
early, if this is nontrivial to fix.

#if __INT_MAX__ == 127
# error stdio is incompatible with -mint8
#endif





___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?22182

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



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #22182] -mint8 kills stdio

2008-01-30 Thread Juergen Weigert

Follow-up Comment #1, bug #22182 (project avr-libc):

This happened with avr-libc-1.4.6


___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?22182

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



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev


[avr-libc-dev] [bug #12033] macros.inc need to be protected from multiple inclusion.

2005-05-19 Thread Juergen Weigert

Follow-up Comment #3, bug #12033 (project avr-libc):

Untangling is definitly superior to patching the symtoms.
Meanwhile patch #3997 keeps my gas happy. 
Keep up the good work!

___

Reply to this item at:

  http://savannah.nongnu.org/bugs/?func=detailitemitem_id=12033

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



___
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev