h8300, m32c and PRIuPTR

Joseph Myers joseph@codesourcery.com
Tue Mar 17 16:16:00 GMT 2015


On Tue, 17 Mar 2015, Corinna Vinschen wrote:

> Do we really gain anything by introducing a massive ifdef mentioning
> all targets out there?  This looks like overkill.

Was there some problem with the logic I suggested in 
<https://sourceware.org/ml/newlib/2014/msg00421.html> to determine the 
type used for intptr_t without any per-architecture conditionals or 
configure tests being needed?  (It's true that if some architecture 
decides to use e.g. __int24 for intptr_t, additional cases would be 
needed, but that logic should cover all architectures where int, long or 
long long are used.)

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Newlib mailing list