[Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':
- Next message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6979: constexpr support in MPL"
- Previous message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #7479: Compiles fails with compilers supporting constexpr fails if the standard library doesn't provides the constexpr interface"
- Next in thread: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
#9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr
function 'static std::numeric_limits<float>::_Ty
std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-
core-service/other/boost/boost/chrono/duration.hpp: In static member
function 'static constexpr double
boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':
----------------------+------------------------------
Reporter: szj087@⦠| Type: Bugs
Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.54.0
Severity: Problem | Keywords:
----------------------+------------------------------
I am using QNX SDB660 GCC 4.7.3 to create QNX C++ project. It is very
simple like that.
#include <boost/thread/recursive_mutex.hpp>
int main(int argc, char *argv[]) {
return EXIT_SUCCESS;
}
It reports the following error.
In file included from boost/chrono/time_point.hpp:33:0,
from boost/thread/lock_types.hpp:22,
from boost/thread/pthread/recursive_mutex.hpp:13,
from boost/thread/recursive_mutex.hpp:16,
from /home/test/number/number.cc:1:
boost/chrono/duration.hpp: In static member function 'static constexpr
float boost::chrono::detail::chrono_numeric_limits<float,
true>::lowest()':
boost/chrono/duration.hpp:355:56: error: call to non-constexpr function
'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()'
boost/chrono/duration.hpp: In static member function 'static constexpr
double boost::chrono::detail::chrono_numeric_limits<double,
true>::lowest()':
boost/chrono/duration.hpp:363:57: error: call to non-constexpr function
'static std::numeric_limits<double>::_Ty
std::numeric_limits<double>::max()'
boost/chrono/duration.hpp: In static member function 'static constexpr
long double boost::chrono::detail::chrono_numeric_limits<long double,
true>::lowest()':
boost/chrono/duration.hpp:371:61: error: call to non-constexpr function
'static std::numeric_limits<long double>::_Ty std::numeric_limits<long
double>::max()'
Is it QNX related or general bug for boost?
Thanks/Zongjun
--
Ticket URL: <https://svn.boost.org/trac/boost/ticket/9811>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.
- Next message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #6979: constexpr support in MPL"
- Previous message: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #7479: Compiles fails with compilers supporting constexpr fails if the standard library doesn't provides the constexpr interface"
- Next in thread: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
- Reply: Boost C++ Libraries: "Re: [Boost-bugs] [Boost C++ Libraries] #9811: boost/boost/chrono/duration.hpp:355:56: error: call to non-constexpr function 'static std::numeric_limits<float>::_Ty std::numeric_limits<float>::max()' /home/zosun/input_service/inputservices-core-service/other/boost/boost/chrono/duration.hpp: In static member function 'static constexpr double boost::chrono::detail::chrono_numeric_limits<double, true>::lowest()':"
This archive was generated by hypermail 2.1.7
: 2017-02-16 18:50:15 UTC