Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r67654 - trunk/libs/ratio/example
From: vicente.botet_at_[hidden]
Date: 2011-01-04 12:46:40


Author: viboes
Date: 2011-01-04 12:46:40 EST (Tue, 04 Jan 2011)
New Revision: 67654
URL: http://svn.boost.org/trac/boost/changeset/67654

Log:
Boost.Ratio: Try to solve issue

 Test output: Sandia-pgi-10.1 - ratio - si_physics / pgi-10.1
Rev 67646 / Tue, 4 Jan 2011 08:16:01 +0000
Report Time: Tue, 4 Jan 2011 16:29:50 +0000

Compile [2011-01-04 10:54:21 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/threading-multi/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 311 (col. 17): error: identifier "intmax_t" is undefined
Error limit reached.
1 error detected in the compilation of "../libs/ratio/test/../example/si_physics.cpp".
Compilation terminated.

Text files modified:
   trunk/libs/ratio/example/duration.hpp | 6 +++---
   1 files changed, 3 insertions(+), 3 deletions(-)

Modified: trunk/libs/ratio/example/duration.hpp
==============================================================================
--- trunk/libs/ratio/example/duration.hpp (original)
+++ trunk/libs/ratio/example/duration.hpp 2011-01-04 12:46:40 EST (Tue, 04 Jan 2011)
@@ -308,7 +308,7 @@
             typedef typename common_type<
                 typename ToDuration::rep,
                 typename FromDuration::rep,
- intmax_t>::type C;
+ boost::intmax_t>::type C;
             return ToDuration(static_cast<typename ToDuration::rep>(
                               static_cast<C>(fd.count()) / static_cast<C>(Period::den)));
         }
@@ -327,7 +327,7 @@
             typedef typename common_type<
               typename ToDuration::rep,
               typename FromDuration::rep,
- intmax_t>::type C;
+ boost::intmax_t>::type C;
             return ToDuration(static_cast<typename ToDuration::rep>(
                               static_cast<C>(fd.count()) * static_cast<C>(Period::num)));
         }
@@ -347,7 +347,7 @@
             typedef typename common_type<
               typename ToDuration::rep,
               typename FromDuration::rep,
- intmax_t>::type C;
+ boost::intmax_t>::type C;
             return ToDuration(static_cast<typename ToDuration::rep>(
                static_cast<C>(fd.count()) * static_cast<C>(Period::num)
                  / static_cast<C>(Period::den)));


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk