From: MARK CALLAGHAN Date: August 31 2010 5:04pm Subject: Re: [STYLE] use true/false in C++, not TRUE/FALSE List-Archive: http://lists.mysql.com/internals/38048 Message-Id: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Does it support bool? On Tue, Aug 31, 2010 at 9:56 AM, Davi Arnaut wrote= : > On 8/31/10 1:54 PM, Jay Pipes wrote: >> >> Please name one that doesn't :) > > Microsoft Visual C++. > >> On Tue, Aug 31, 2010 at 12:48 PM, Davi Arnaut >> =A0wrote: >>> >>> It should be obvious, but how long C99 has been around does not matter >>> much. >>> Whether the compilers we rely upon are providing those C99 features is >>> much >>> more important. >>> >>> On 8/31/10 1:41 PM, Jay Pipes wrote: >>>> >>>> Yeah, it's WAY too early to standardize on C99 and stdbool.h. ;) >>>> >>>> -jay >>>> >>>> On Tue, Aug 31, 2010 at 12:32 PM, Guilhem Bichot >>>> =A0 =A0wrote: >>>>> >>>>> I guess the only solution to this, is to decrease the use of my_bool = as >>>>> much >>>>> as possible, i.e. use bool in C++ code. my_bool would be confined to = C >>>>> code >>>>> (which code does not evolve much nowadays). >>>>> >>>>> MARK CALLAGHAN a =E9crit, Le 31.08.2010 17:53: >>>>>> >>>>>> Behavior like this is unwelcoming to the community. >>>>>> (my_bool) 255 --> =A0 =A0TRUE >>>>>> (my_bool) 256 --> =A0 =A0FALSE >>>>>> (my_bool) 257 --> =A0 =A0TRUE >>>>>> >>>>>> On Tue, Aug 31, 2010 at 2:05 AM, Guilhem Bichot >>>>>> =A0 =A0wrote: >>>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> Sure, but what do you mean by "fix my_bool"? Could you please expan= d >>>>>>> a >>>>>>> little bit? >>>>>>> >>>>>>> MARK CALLAGHAN a =E9crit, Le 26.08.2010 18:17: >>>>>>>> >>>>>>>> Are there plans to fix my_bool? >>>>>>>> >>>>>>>> It has been quiet on internals so I figured I would ask. >>>>> >>>>> -- >>>>> MySQL Internals Mailing List >>>>> For list archives: http://lists.mysql.com/internals >>>>> To unsubscribe: >>>>> =A0http://lists.mysql.com/internals?unsub=3Djaypipes@stripped >>>>> >>>>> >>>> >>> >>> > > --=20 Mark Callaghan mdcallag@stripped