Boost logo

Boost Users :

Subject: [Boost-users] Cosmetic warning in gcc 4.3
From: Joel Falcou (joel.falcou_at_[hidden])
Date: 2009-01-31 14:25:59


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.

-- 
___________________________________________
Joel Falcou - Assistant Professor
PARALL Team - LRI - Universite Paris Sud XI
Tel : (+33)1 69 15 66 35

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