Re: [U-Boot] puts() and newlines (was Re: Discussion topics / issues)

2014-10-20 Thread Tom Rini
On Wed, Oct 15, 2014 at 10:40:12AM +0200, Pavel Machek wrote: > Hi! > > > First, we have a compatibility problem here. GCC assumes that puts() > > will add a newline character after the string; U-Boot puts() does NOT > > do this. So the GCC auto-converted printf()s will all be wrong, as > > they

Re: [U-Boot] puts() and newlines (was Re: Discussion topics / issues)

2014-10-15 Thread Pavel Machek
On Wed 2014-10-15 10:40:12, Pavel Machek wrote: > Hi! > > > First, we have a compatibility problem here. GCC assumes that puts() > > will add a newline character after the string; U-Boot puts() does NOT > > do this. So the GCC auto-converted printf()s will all be wrong, as > > they are missing t

[U-Boot] puts() and newlines (was Re: Discussion topics / issues)

2014-10-15 Thread Pavel Machek
Hi! > First, we have a compatibility problem here. GCC assumes that puts() > will add a newline character after the string; U-Boot puts() does NOT > do this. So the GCC auto-converted printf()s will all be wrong, as > they are missing the newline. [1] > [1] One might argue that this is a bug in