From: Davi Arnaut Date: August 31 2010 4:56pm Subject: Re: [STYLE] use true/false in C++, not TRUE/FALSE List-Archive: http://lists.mysql.com/internals/38047 Message-Id: <4C7D343F.8000202@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 wrote: >> >> 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 >>> wrote: >>>> >>>> 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 écrit, Le 31.08.2010 17:53: >>>>> >>>>> Behavior like this is unwelcoming to the community. >>>>> (my_bool) 255 --> TRUE >>>>> (my_bool) 256 --> FALSE >>>>> (my_bool) 257 --> TRUE >>>>> >>>>> On Tue, Aug 31, 2010 at 2:05 AM, Guilhem Bichot >>>>> wrote: >>>>>> >>>>>> Hello, >>>>>> >>>>>> Sure, but what do you mean by "fix my_bool"? Could you please expand a >>>>>> little bit? >>>>>> >>>>>> MARK CALLAGHAN a écrit, 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: >>>> http://lists.mysql.com/internals?unsub=jaypipes@stripped >>>> >>>> >>> >> >>