Re: [U-Boot] [RFC 06/10] cc-option: make it work with clang

2014-07-05 Thread Jeroen Hofstee
Hello Masahiro, On 10-06-14 10:39, Masahiro Yamada wrote: Hi Jeroen, On Sat, 31 May 2014 22:32:20 +0200 Jeroen Hofstee wrote: By default clang will return echo a warning if an option is unknown. Therefore turn warnings into errors when polling for options. As far as I tested with clang 3.5

Re: [U-Boot] [RFC 06/10] cc-option: make it work with clang

2014-06-10 Thread Albert ARIBAUD
Hi Masahiro, On Tue, 10 Jun 2014 17:39:03 +0900, Masahiro Yamada wrote: > Hi Jeroen, > > > On Sat, 31 May 2014 22:32:20 +0200 > Jeroen Hofstee wrote: > > > By default clang will return echo a warning if an option is unknown. > > Therefore turn warnings into errors when polling for options. >

Re: [U-Boot] [RFC 06/10] cc-option: make it work with clang

2014-06-10 Thread Masahiro Yamada
Hi Jeroen, On Sat, 31 May 2014 22:32:20 +0200 Jeroen Hofstee wrote: > By default clang will return echo a warning if an option is unknown. > Therefore turn warnings into errors when polling for options. As far as I tested with clang 3.5 on Ubuntu 14.04, it looks different. $ clang -fno-delete

[U-Boot] [RFC 06/10] cc-option: make it work with clang

2014-05-31 Thread Jeroen Hofstee
By default clang will return echo a warning if an option is unknown. Therefore turn warnings into errors when polling for options. --- scripts/Kbuild.include | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/Kbuild.include b/scripts/Kbuild.include index c664e39..4c333