Subject: [Boost-bugs] [Boost C++ Libraries] #12791: configuration issue in array.hpp for Oracle Developer Studio compiler
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2017-01-25 21:04:05
#12791: configuration issue in array.hpp for Oracle Developer Studio compiler
-------------------------------------------+----------------------
Reporter: Aparna Kumta <aparna.kumta@â¦> | Owner: marshall
Type: Bugs | Status: new
Milestone: To Be Determined | Component: array
Version: Boost Development Trunk | Severity: Problem
Keywords: |
-------------------------------------------+----------------------
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 -D__typeof__=__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)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/12791> 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