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