Subject: Re: [Boost-bugs] [Boost C++ Libraries] #2548: Let's fix the logical constness of value_initialized!
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2009-02-24 18:17:34
#2548: Let's fix the logical constness of value_initialized!
---------------------------+------------------------------------------------
Reporter: niels_dekker | Owner: niels_dekker
Type: Bugs | Status: assigned
Milestone: Boost 1.38.0 | Component: utility
Version: Boost 1.37.0 | Severity: Problem
Resolution: | Keywords:
---------------------------+------------------------------------------------
Comment(by niels_dekker):
Hmmm... My commits ([51355] and [51356]) have caused a compile time
regression failure of Intel Version 9.0 Build 20060222Z (see below).
I still have to figure out how to work around this issue. Hopefully the
commits don't need to be reverted. Any help is appreciated!
http://www.boost.org/development/tests/trunk/output/Sandia-intel-9-0
-boost-bin-v2-libs-utility-test-value_init_test-test-intel-
linux-9-0-debug.html says:
Compile [2009-02-24 12:19:24 UTC]: fail
"/usr/local/intel/cc/9.0-032/bin/icpc" -c -xc++ -O0 -g -Ob0 -w1 -fPIC
-DBOOST_ALL_NO_LIB=1 -I".." -c -o
"/var/scratch/boost/results/boost/bin.v2/libs/utility/test/value_init_test.test
/intel-linux-9.0/debug/value_init_test.o"
"../libs/utility/test/../value_init_test.cpp"
../libs/utility/test/../value_init_test.cpp(258): error: more than one
operator "==" matches these operands:
built-in operator "pointer == pointer"
built-in operator "pointer == pointer"
operand types are: boost::value_initialized<NonPOD *> ==
NonPOD *const
BOOST_CHECK ( x == z ) ;
^
detected during instantiation of "bool test(const T &, const T
&) [with T=NonPOD *]"
../libs/utility/test/../value_init_test.cpp(265): error: more than one
operator "==" matches these operands:
built-in operator "pointer == pointer"
built-in operator "pointer == pointer"
operand types are: const boost::value_initialized<NonPOD *> ==
NonPOD *const
BOOST_CHECK ( x_c == z ) ;
^
detected during instantiation of "bool test(const T &, const T
&) [with T=NonPOD *]"
compilation aborted for ../libs/utility/test/../value_init_test.cpp (code
2)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/2548#comment:3> 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:49:59 UTC