Opened 10 years ago

Closed 10 years ago

#7137 closed Bugs (fixed)

Compilation failure with Intel 10.1

Reported by: Antony Polukhin Owned by: Marshall Clow
Milestone: To Be Determined Component: functional
Version: Boost Development Trunk Severity: Problem
Keywords: hash_value std::shared_ptr intel Cc: antoshkka@…

Description

One of the regression tests of lexical_cast fail with :

    "/usr/local/intel/cc/10.1.015/bin/icpc" -c -xc++ -O0 -g -w1 -inline-level=0  -DBOOST_ALL_NO_LIB=1 -DBOOST_TEST_NO_AUTO_LINK=1 -I".."   -c -o "/scratch/kbelco/boost/results/boost/bin.v2/libs/conversion/test/lexical_cast_containers_test.test/intel-linux-10.1/debug/link-static/lexical_cast_containers_test.o" "../libs/conversion/test/lexical_cast_containers_test.cpp"

../boost/functional/hash/extensions.hpp(184): error: "hash_value" is not a function or static data member
      inline std::size_t hash_value(std::shared_ptr<T> const& x) {
                         ^

../boost/functional/hash/extensions.hpp(184): error: expected a ";"
      inline std::size_t hash_value(std::shared_ptr<T> const& x) {
                                    ^

Change History (4)

comment:1 by Antony Polukhin, 10 years ago

Owner: changed from No-Maintainer to Marshall Clow

comment:2 by Antony Polukhin, 10 years ago

More info about failed test: Rev 79516 / Sun, 15 Jul 2012 01:55:26 +0000
link to test results

comment:3 by Marshall Clow, 10 years ago

That link goes to nowhere; but currently (as of [79568]) all the lexical cast tests are passing on the Sandia Intel 10.1 tester.

I need more information to diagnose this.

comment:4 by Antony Polukhin, 10 years ago

Resolution: fixed
Status: newclosed

Looks like it was fixed by Daniel James :

There are some test failures,
but that's because me messed up hash last night, the
test results were fine before that.

Taken from "[boost] Merging to release" mail

Note: See TracTickets for help on using tickets.