Opened 6 years ago
#12521 new Bugs
runtime error placement_new.cpp with Oracle Developer Studio compiler
Reported by: | Owned by: | Gunter | |
---|---|---|---|
Milestone: | To Be Determined | Component: | uBLAS |
Version: | Boost Development Trunk | Severity: | Problem |
Keywords: | Cc: |
Description
Test placement_new.pp fails during runtime with non-zero exit status with Oracle Developer Studio compiler. http://www.boost.org/development/tests/develop/developer/output/oracle-intel-S2-12-5_next-cpp11-boost-bin-v2-libs-numeric-ublas-test-placement_new-test-sun-12-5_next_cpp11-release-threading-multi.html
Solution: Modify number/ublas/detail/config.hpp
diff config.hpp config.hpp_orig
61,66d60
< Oracle Developer Studio compiler
< #if defined (SUNPRO_CC) && ! defined (BOOST_STRICT_CONFIG)
< #if SUNPRO_CC >= 0x5130
< #define BOOST_UBLAS_USEFUL_ARRAY_PLACEMENT_NEW
< #endif
< #endif