On Tue, Jun 06, 2006 at 09:40:27AM +0000, Angus Leeming wrote: > Abdelrazak Younes <[EMAIL PROTECTED]> writes: > > > | > (the warning was: > > > | > ..\..\lyx-devel\src\lyxtextclass.C(1065) : warning C4800: 'int' : > > > | > forcing value to bool 'true' or 'false' (performance warning) > > > | > ) > > > Why is it a performance warning? > > Because you loose precision: 32 bits -> 1 bit > > And today's useless piece of trivia is... > > You can't have a 1bit variable in C-ish languages. char is guaranteed to be > the > smallest variable (8bit).
8 bit is a lower bound. Andre'