|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r72189 - trunk/boost/accumulators/statistics
From: blelbach_at_[hidden]
Date: 2011-05-26 14:17:11
Author: wash
Date: 2011-05-26 14:17:11 EDT (Thu, 26 May 2011)
New Revision: 72189
URL: http://svn.boost.org/trac/boost/changeset/72189
Log:
Fix incorrect usage of GCC attribute syntax.
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:17:11 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("-fno-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:17:11 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("-fno-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