AFAIR, no.
Anyway...
I haven't keep up with the thread, but I think the my_bool for C code is
a bit of silliness. We should just stick to int where applicable and be
done with it.
On 8/31/10 2:04 PM, MARK CALLAGHAN wrote:
> Does it support bool?
>
> On Tue, Aug 31, 2010 at 9:56 AM, Davi Arnaut<davi.arnaut@stripped> 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<davi.arnaut@stripped>
>>> 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
>>>>> <guilhem.bichot@stripped> 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
>>>>>>> <guilhem.bichot@stripped> 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=1
>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>
>>
>
>
>
| Thread |
|---|
| • [STYLE] use true/false in C++, not TRUE/FALSE | Guilhem Bichot | 26 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Roy Lyseng | 26 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | MARK CALLAGHAN | 26 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Guilhem Bichot | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | MARK CALLAGHAN | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Guilhem Bichot | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Jay Pipes | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Davi Arnaut | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Jay Pipes | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Davi Arnaut | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | MARK CALLAGHAN | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Davi Arnaut | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | MARK CALLAGHAN | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Roy Lyseng | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | MARK CALLAGHAN | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Michael Widenius | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Jay Pipes | 8 Sep |
| • RE: [STYLE] use true/false in C++, not TRUE/FALSE | Vladislav Vaintroub | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Roy Lyseng | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Davi Arnaut | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Michael Widenius | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Davi Arnaut | 8 Sep |
| • RE: [STYLE] use true/false in C++, not TRUE/FALSE | Vladislav Vaintroub | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Michael Widenius | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Konstantin Osipov | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Mats Kindahl | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Tor Didriksen | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Mats Kindahl | 8 Sep |
| • RE: [STYLE] use true/false in C++, not TRUE/FALSE | Vladislav Vaintroub | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Mats Kindahl | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Tor Didriksen | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Mats Kindahl | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Jay Pipes | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Michael Widenius | 8 Sep |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | MARK CALLAGHAN | 31 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Mats Kindahl | 27 Aug |
| • Re: [STYLE] use true/false in C++, not TRUE/FALSE | Michael Widenius | 8 Sep |