mirror of
https://github.com/boostorg/ratio.git
synced 2025-05-09 23:24:01 +00:00
Boost.Ratio: Try to solve issue
Test output: Sandia-pgi-10.1 - ratio - si_physics / pgi-10.1 Rev 67674 / Wed, 5 Jan 2011 08:08:45 +0000 Report Time: Wed, 5 Jan 2011 16:18:46 +0000 Compile [2011-01-05 10:54:00 UTC]: fail "/sierra/Sntools/extras/compilers/pgi/linux86-64/10.1/bin/pgCC" -INLINE:none -Wc,-a --brief_diagnostics --error_limit1 --compress_names --diag_suppress450 --no_using_std --zc_eh -Kieee -fpic -gopt -DBOOST_ALL_NO_LIB=1 -DBOOST_ENABLE_WARNINGS -DBOOST_MPL_NEXT_PRIOR_EXT -DBOOST_RATIO_USES_MPL_ASSERT -D__need_IOV_MAX -I".." -c -o "/scratch/boost/results/boost/bin.v2/libs/ratio/test/si_physics.test/pgi-10.1/debug/si_physics.o" "../libs/ratio/test/../example/si_physics.cpp" "../libs/ratio/test/../example/config.hpp", line 20 (col. 3): warning: unrecognized preprocessing directive "../libs/ratio/test/../example/config.hpp", line 22 (col. 3): warning: unrecognized preprocessing directive "../libs/ratio/test/../example/config.hpp", line 24 (col. 3): warning: unrecognized preprocessing directive "../libs/ratio/test/../example/duration.hpp", line 498 (col. 20): error: identifier "duration_cast" is undefined Error limit reached. 1 error detected in the compilation of "../libs/ratio/test/../example/si_physics.cpp". Compilation terminated. [SVN r67684]
This commit is contained in:
parent
aa87ae0945
commit
072e014868
@ -495,7 +495,7 @@ namespace chrono {
|
||||
// have to support both approaches.
|
||||
;
|
||||
#else
|
||||
: rep_(duration_cast<duration>(d).count()) {}
|
||||
: rep_(chrono::duration_cast<duration>(d).count()) {}
|
||||
#endif
|
||||
|
||||
// observer
|
||||
|
Loading…
x
Reference in New Issue
Block a user