[U-Boot] [PATCH] Introduce a global bool type

Timur Tabi b04825 at freescale.com
Tue Jan 8 20:09:24 CET 2013


Wolfgang Denk wrote:
> You are right.  And I wrote that it's a bug.  But this is what you can
> easily get from using boolean types.  This is example has not been
> invented by me.  I don't even claim that this was good programming
> style - all I want to say is that from what I have seen the boolean
> types are not a panacea; they cause new problems as well.

I don't disagree with any of that, but I don't see what your point is.
Every time you use a new feature, there are also new ways to use it
incorrectly.  By your logic, we should use no new features of the C
language that were invented in the past 20 years.


-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the U-Boot mailing list