Re: [U-Boot] __weak usage

2014-06-28 Thread Tom Rini
On Sat, Jun 28, 2014 at 07:00:52PM +0200, Jeroen Hofstee wrote: > Hi, > > Perhaps this is trivial for you all, but it is something I had > not realized before looking into the warnings u-boot generates > with W=1 / clang. The below "program" will compile fine with > MAKEALL (even with pedantic war

[U-Boot] __weak usage

2014-06-28 Thread Jeroen Hofstee
Hi, Perhaps this is trivial for you all, but it is something I had not realized before looking into the warnings u-boot generates with W=1 / clang. The below "program" will compile fine with MAKEALL (even with pedantic warnings). Since the compiler never sees the different definition and the lin