Boost logo

Boost Users :

Subject: Re: [Boost-users] Conversion warning from boost/functional/hash/detail/hash_float_generic.hpp
From: Daniel James (dnljms_at_[hidden])
Date: 2010-12-11 09:25:00


Sorry I missed this before.

On 19 November 2010 18:16, Greg Ward <greg_at_[hidden]> wrote:
>
> I'm getting a strange warning from
> <boost/functional/hash/detail/hash_float_generic.hpp>.  What's strange
> is not the warning, but the circumstances: if I use the boost headers
> installed in /usr/include, no warning.  But if I make a copy of
> /usr/include/boost and tell the compiler to use the copy, I get a
> warning.

IIRC gcc treats any headers under /usr/include as system headers and
doesn't print any warnings.

>  $ /usr/bin/g++ -Wall -Wconversion  -c test.cpp -o test.o

I'll look into fixing this but '-Wconversion' isn't normally a warning
flag that we test with, so problems with it are quite likely to pop up
elsewhere.

Daniel


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net