Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r72192 - trunk/boost/accumulators/statistics
From: eric_at_[hidden]
Date: 2011-05-26 14:31:26


Author: eric_niebler
Date: 2011-05-26 14:31:26 EDT (Thu, 26 May 2011)
New Revision: 72192
URL: http://svn.boost.org/trac/boost/changeset/72192

Log:
fix gcc __attribute__ declaration
Text files modified:
   trunk/boost/accumulators/statistics/sum_kahan.hpp | 2 +-
   trunk/boost/accumulators/statistics/weighted_sum_kahan.hpp | 2 +-
   2 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/boost/accumulators/statistics/sum_kahan.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/sum_kahan.hpp (original)
+++ trunk/boost/accumulators/statistics/sum_kahan.hpp 2011-05-26 14:31:26 EDT (Thu, 26 May 2011)
@@ -51,7 +51,7 @@
     template<typename Args>
     void
 #if BOOST_ACCUMULATORS_GCC_VERSION > 40305
- __attribute__((optimize("-fno-associative-math")))
+ __attribute__((optimize("no-associative-math")))
 #endif
     operator ()(Args const & args)
     {

Modified: trunk/boost/accumulators/statistics/weighted_sum_kahan.hpp
==============================================================================
--- trunk/boost/accumulators/statistics/weighted_sum_kahan.hpp (original)
+++ trunk/boost/accumulators/statistics/weighted_sum_kahan.hpp 2011-05-26 14:31:26 EDT (Thu, 26 May 2011)
@@ -52,7 +52,7 @@
         template<typename Args>
         void
 #if BOOST_ACCUMULATORS_GCC_VERSION > 40305
- __attribute__((optimize("-fno-associative-math")))
+ __attribute__((optimize("no-associative-math")))
 #endif
         operator ()(Args const &args)
         {


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