Boost logo

Boost :

Subject: Re: [boost] [serialization] warnings in debug build
From: Christoph Duelli (christoph.duelli_at_[hidden])
Date: 2009-11-16 13:40:35


Robert Ramey wrote:

> and another question
>
> Which file was being compiled?
one of mine; the warnings listed below are all from assert() statements and
I do not think they really depend on my code or the instantiations.

relevant compile flags (I am using): -Wall -W
and of course (debug builds) *no* -DNDEBUG

> Also, I've set the warning level in accordance
> the new guidlines. In order to address this, it would
> be helpful to know what level of warning you are using
> and how it compares with the new guidline
I have not studied the guideline yet.

Best regards
Christoph

> Christoph Duelli wrote:
>> building vs trunk I got (only in my debug build):
>>
>> boost/archive/basic_binary_oarchive.hpp:89:
>> warning: comparison is always true due to limited range of data type
>> boost/archive/basic_binary_oarchive.hpp:95:
>> warning: comparison is always true due to limited range of data type
>> boost/archive/basic_binary_oprimitive.hpp:163:
>> warning: comparison between signed and unsigned integer expressions
>> boost/archive/basic_binary_iprimitive.hpp:154:
>> warning: comparison between signed and unsigned integer expressions


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk