Boost logo

Boost Users :

Subject: Re: [Boost-users] Cosmetic warning in gcc 4.3
From: John Maddock (john_at_[hidden])
Date: 2009-02-01 04:49:37


>I foudn that the following lines int he following files generates a huge
> amount of spurious warning in gcc 4.3 with -Wall :
>
> /boost/math/special_functions/gamma.hpp
>
> line 1264: tgamma1pm1(T z, const Policy& /* pol */)
>
> /boost/function_types/detail/pp_retag_default_cc/preprocessed.hpp
>
> line 18
> BOOST_STATIC_CONSTANT(bits_t, value = (
> (::boost::function_types::detail::bits<Tag> ::value & 0x00008000 )
> |( ::boost::function_types::detail::bits<RefTag> ::value & 802)
> ));
>
>
> /boost/function_types/detail/pp_tags/preprocessed.hpp
>
> line 56
> BOOST_STATIC_CONSTANT(bits_t, combined_bits =
> (LHS_bits & ~RHS_mask) | RHS_bits
> );
>
> The later was signaled as a ticket in trac but I wanted to know if it
> was fixed/merged in the upcoming 1.38.

Seems to be, but there's another warning from Boost.Fusion: I'll file a Trac
issue on that,

John.


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