Hi!

> Dag-Erling Smørgrav <d...@des.no> writes:
> > Kurt Jaeger <p...@freebsd.org> writes:
> > > I do not have a working arm setup right now.
> > This is a bug on all platforms, and both clang and (recent) gcc should
> > complain about it.  That printf() call will print garbage.
> 
> Correction: it will print garbage on 32-bit platforms, where sizeof(int)
> != sizeof(intmax_t), but clang and gcc should still emit a warning.

Yes. I'm old enough to remember the mess in C when going from 16bit
to 32bit that I should have paid attention to the test case on 32bit, but
my stupidity won 8-(

Right now the submitter tests on 32bit and if time permits, I'll
experiment on ARM as well.

Sorry again for the mess.

-- 
p...@freebsd.org         +49 171 3101372                6 years to go !
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to