[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] [bug #22182] -mint8 kills stdio
From: |
Juergen Weigert |
Subject: |
[avr-libc-dev] [bug #22182] -mint8 kills stdio |
Date: |
Wed, 30 Jan 2008 20:58:04 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.5) KHTML/3.5.7 (like Gecko) SUSE |
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] [bug #22182] -mint8 kills stdio,
Juergen Weigert <=