Opened 6 years ago

Closed 6 years ago

#12791 closed Bugs (fixed)

configuration issue in array.hpp for Oracle Developer Studio compiler

Reported by: Aparna Kumta <aparna.kumta@…> Owned by: Marshall Clow
Milestone: To Be Determined Component: array
Version: Boost Development Trunk Severity: Problem
Keywords: Cc:

Description

Several tests fail when compiling with Oracle Developer Studio compiler, an exmaple shown below:

http://www.boost.org/development/tests/develop/developer/output/oracle-sparc-S2-12-5_next-cpp11-boost-bin-v2-libs-geometry-index-test-rtree-rtree_insert_remove-test-sun-12-5_next_cpp11-release-threading-multi.html

"CC" -std=c++11 -temp=/tmp/bn -xO4 -mt -erroff=%none -m32 -KPIC -DBOOST_ALL_NO_LIB=1 -DBOOST_CHRONO_DYN_LINK=1 -DBOOST_NO_AUTO_PTR -DBOOST_SYSTEM_DYN_LINK=1 -DBOOST_SYSTEM_NO_DEPRECATED -DBOOST_TIMER_DYN_LINK=1 -DNDEBUG -Dtypeof=typeof -I".." -I"../boost/geometry/extensions/contrib/ttmath" -I"../libs/geometry/index/test" -I"../libs/geometry/test" -c -o "/export/home/sstrunk-tester/boost_regression/boost_regression_develop/boost_sparc-S2_cpp11/results/boost/bin.v2/libs/geometry/index/test/rtree/rtree_insert_remove.test/sun-12.5_next_cpp11/release/threading-multi/rtree_insert_remove.o" "../libs/geometry/index/test/rtree/rtree_insert_remove.cpp"

"../boost/array.hpp", line 376: Error: expected a qualified name after "typename". "../boost/test/output/compiler_log_formatter.hpp", line 62: Warning: boost::unit_test::output::compiler_log_formatter::test_unit_skipped hides the virtual function boost::unit_test::unit_test_log_formatter::test_unit_skipped(std::ostream &, const boost::unit_test::test_unit&).

...

The following change resolves this issue:

% diff array.hpp array.hpp_orig

354c354

< #if defined(SUNPRO_CC) && (SUNPRO_CC < 0x5150)

---

#if defined(SUNPRO_CC)

Change History (4)

comment:1 by Marshall Clow, 6 years ago

Can you please try this again with the current "develop" branch? I suspect that this was fixed by https://github.com/boostorg/array/pull/5. (two days ago)

comment:2 by Aparna Kumta <aparna.kumta@…>, 6 years ago

I was just about to submit a PR for this change and saw that the current develop branch was modified 2 days ago. Sure, let me run the cycle against develop branch.

comment:3 by Aparna Kumta <aparna.kumta@…>, 6 years ago

This is resolved in the latest 'develop' branch.

comment:4 by Marshall Clow, 6 years ago

Resolution: fixed
Status: newclosed

And now in master, too.

Note: See TracTickets for help on using tickets.