Boost logo

Boost :

From: Christoph Ludwig (cludwig_at_[hidden])
Date: 2004-10-19 04:07:36


On Tue, Oct 19, 2004 at 10:57:18AM +0200, Christoph Ludwig wrote:
> when building Boost.Serialization my compiler (gcc 3.4.2 on
> i686-pc-linux-gnu) issues some warnings. They are no big deal for me,
> but I think they can (and should) easiliy be avoided.

And one more: In collection_traits.hpp, line 51, the line

    || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615)
    
triggers the warning "integer constant is so large that it is
unsigned". I think the last literal should be an unsigned literal,
i.e.

    || (ULONG_MAX != 0xffffffff && ULONG_MAX == 18446744073709551615u)
                                                                   ^^^

Regards

Christoph

-- 
http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/cludwig.html
LiDIA: http://www.informatik.tu-darmstadt.de/TI/LiDIA/Welcome.html

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