Subject: [Boost-bugs] [Boost C++ Libraries] #12204: Boost 1.61.0 mulitiprecision introduces warning on clang / OS X
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-05-13 15:52:08
#12204: Boost 1.61.0 mulitiprecision introduces warning on clang / OS X
------------------------------+------------------------------
Reporter: howard.hinnant@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.61.0
Severity: Regression | Keywords:
------------------------------+------------------------------
This change:
https://github.com/boostorg/multiprecision/commit/df773c7ab293118eb29eac52067a0466431c9a96
Introduces these warnings on OS X / clang:
{{{
In file included from
/Users/howardhinnant/Development/boost_1_61_0/boost/multiprecision/cpp_int.hpp:12:
In file included from
/Users/howardhinnant/Development/boost_1_61_0/boost/multiprecision/number.hpp:22:
In file included from
/Users/howardhinnant/Development/boost_1_61_0/boost/multiprecision/detail/generic_interconvert.hpp:9:
In file included from
/Users/howardhinnant/Development/boost_1_61_0/boost/multiprecision/detail/default_ops.hpp:10:
/Users/howardhinnant/Development/boost_1_61_0/boost/multiprecision/detail/number_base.hpp:415:13:
warning: conversion function converting
'expression<type-parameter-0-0, type-parameter-0-1, void, void,
void>' to 'void' will never be used
explicit operator void()const {}
^
/Users/howardhinnant/Development/boost_1_61_0/boost/multiprecision/detail/number_base.hpp:479:13:
warning: conversion function converting
'expression<boost::multiprecision::detail::terminal, type-
parameter-0-0, void, void, void>' to 'void' will never be used
explicit operator void()const {}
^
/Users/howardhinnant/Development/boost_1_61_0/boost/multiprecision/detail/number_base.hpp:547:13:
warning: conversion function converting
'expression<type-parameter-0-0, type-parameter-0-1, type-
parameter-0-2, void, void>' to 'void' will never be used
explicit operator void()const {}
^
/Users/howardhinnant/Development/boost_1_61_0/boost/multiprecision/detail/number_base.hpp:626:13:
warning: conversion function converting
'expression<type-parameter-0-0, type-parameter-0-1, type-
parameter-0-2, type-parameter-0-3, void>' to 'void' will never be used
explicit operator void()const {}
^
/Users/howardhinnant/Development/boost_1_61_0/boost/multiprecision/detail/number_base.hpp:714:13:
warning: conversion function converting
'expression<tag, Arg1, Arg2, Arg3, Arg4>' to 'void' will never be
used
explicit operator void()const {}
^
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12204> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:20 UTC