[C++-sig] Re: new warning using vector_indexing_suite
Joel de Guzman
joel at boost-consulting.com
Wed Nov 24 02:23:43 CET 2004
Hi,
I'm sorry about that. I'll definitely look into this. I'm not sure
if it is the correct fix. I do not have access to my workstation right
now (working at home), but I'll definitely look into it as soon as I
get the chance.
Regards,
--Joel
------------------------------------------------------------------------
>
> Subject:
> new warning using vector_indexing_suite
> From:
> Jeffrey Holle <jeff.holle at verizon.net>
> Date:
> Mon, 22 Nov 2004 13:20:44 -0800
>
>
> I use linux with gcc v3.4.3.
>
> I've discovered that compiling my boost.python using application with
> 1.32.0, produces very long winded warnings.
>
> The problem is comparing signed and unsigned longs in
> indexing_suite_detail.hpp.
>
> I've altered this file to avoid these warning, the diff file is attached.
>
> I don't know if this change is correct.
>
> I'd appreciate feedback if deemed not so.
>
>
> ------------------------------------------------------------------------
>
> 593c593
> < if (from > max_index) // Clip upper bounds to
max_index.
> ---
>
>> if ((unsigned long)from > max_index) // Clip upper
bounds to max_index.
>
> 615c615
> < if (to > max_index)
> ---
>
>> if ((unsigned long)to > max_index)
>>
>>
>>------------------------------------------------------------------------
>>
>>_______________________________________________
>>C++-sig mailing list
>>C++-sig at python.org
>>http://mail.python.org/mailman/listinfo/c++-sig
>>
>>
>> ------------------------------------------------------------------------
>>
>> Subject:
>> Re: new warning using vector_indexing_suite
>> From:
>> Chad Austin <caustin at gmail.com>
>> Date:
>> Mon, 22 Nov 2004 17:59:33 -0600
>>
>>
>>I just upgraded to Boost 1.32 today and that warning is incredibly
>>annoying. I'm surprised the release process didn't catch something
>>like that. :(
>>
>>Chad
>>
>>On Mon, 22 Nov 2004 13:20:44 -0800, Jeffrey Holle
>><jeff.holle at verizon.net> wrote:
>>
>>>I use linux with gcc v3.4.3.
>>>
>>>I've discovered that compiling my boost.python using application with
>>>1.32.0, produces very long winded warnings.
>>>
>>>The problem is comparing signed and unsigned longs in
>>>indexing_suite_detail.hpp.
>>>
>>>I've altered this file to avoid these warning, the diff file is
attached.
>>>
>>>I don't know if this change is correct.
>>>
>>>I'd appreciate feedback if deemed not so.
More information about the Cplusplus-sig
mailing list