[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] # error "SHRT_MAX != INT_MAX for target: not supported"
From: |
Aras Vaichas |
Subject: |
[avr-libc-dev] # error "SHRT_MAX != INT_MAX for target: not supported" |
Date: |
Fri, 18 Jun 2010 11:37:31 +1000 |
Hi,
I'm compiling the avr-libc's stdio library for avr32 because it is better
suited to the smaller avr32 micros with less Flash.
I've got a question about something in vfscanf.c:
from: $Id: vfscanf.c,v 1.13.4.2 2009/04/01 23:12:06 arcanum Exp $
Line 89:
#if SHRT_MAX != INT_MAX
# error "SHRT_MAX != INT_MAX for target: not supported"
#endif
On avr32, this gives me a compile error. Can someone give me a quick
explanation, and a hint where I can make scanf compatible for a CPU where
short != int?
Aras
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-dev] # error "SHRT_MAX != INT_MAX for target: not supported",
Aras Vaichas <=