|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r79421 - trunk/boost/math/special_functions/detail
From: john_at_[hidden]
Date: 2012-07-11 13:28:54
Author: johnmaddock
Date: 2012-07-11 13:28:54 EDT (Wed, 11 Jul 2012)
New Revision: 79421
URL: http://svn.boost.org/trac/boost/changeset/79421
Log:
Ditch anonymous union - it causes GCC-4.4 to choke.
Fixes #6362.
Text files modified:
trunk/boost/math/special_functions/detail/bessel_jy.hpp | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
Modified: trunk/boost/math/special_functions/detail/bessel_jy.hpp
==============================================================================
--- trunk/boost/math/special_functions/detail/bessel_jy.hpp (original)
+++ trunk/boost/math/special_functions/detail/bessel_jy.hpp 2012-07-11 13:28:54 EDT (Wed, 11 Jul 2012)
@@ -256,10 +256,8 @@
return 0;
}
-enum
-{
- need_j = 1, need_y = 2
-};
+static const int need_j = 1;
+static const int need_y = 2;
// Compute J(v, x) and Y(v, x) simultaneously by Steed's method, see
// Barnett et al, Computer Physics Communications, vol 8, 377 (1974)
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