From a5a43ddb1b42b04c67603f943ad6364405dc0275 Mon Sep 17 00:00:00 2001 From: Richard Kreckel Date: Fri, 12 Oct 2007 21:44:21 +0000 Subject: [PATCH] Fix compilation on CYGWIN: * src/float/transcendental/cl_LF_zeta_int.cc: Avoid leading underscores in variable names. * src/float/transcendental/cl_LF_eulerconst.cc: Likewise. Reported by Chris Bouchard . --- ChangeLog | 8 ++++++++ src/float/transcendental/cl_LF_eulerconst.cc | 4 ++-- src/float/transcendental/cl_LF_zeta_int.cc | 4 ++-- 3 files changed, 12 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb54cb4..3577425 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-10-12 Richard B. Kreckel + + Fix compilation on CYGWIN: + * src/float/transcendental/cl_LF_zeta_int.cc: Avoid leading underscores + in variable names. + * src/float/transcendental/cl_LF_eulerconst.cc: Likewise. + Reported by Chris Bouchard . + 2007-10-10 Richard B. Kreckel * src/base/cl_low.h: Add missing linefeeds in SPARC 64 inline assembler. diff --git a/src/float/transcendental/cl_LF_eulerconst.cc b/src/float/transcendental/cl_LF_eulerconst.cc index 55269cf..7eff07f 100644 --- a/src/float/transcendental/cl_LF_eulerconst.cc +++ b/src/float/transcendental/cl_LF_eulerconst.cc @@ -462,9 +462,9 @@ const cl_LF compute_eulerconst_besselintegral4 (uintC len) thiss.n = n+1; return result; } - rational_series_stream (uintC _n, const cl_I& _x) + rational_series_stream (uintC n_, const cl_I& x_) : cl_pqd_series_stream (rational_series_stream::computenext), - n (_n), x (_x) {} + n (n_), x (x_) {} } series(0,x); var cl_pqd_series_result sums; eval_pqd_series_aux(N,series,sums,actuallen); diff --git a/src/float/transcendental/cl_LF_zeta_int.cc b/src/float/transcendental/cl_LF_zeta_int.cc index 9d51282..433b7fc 100644 --- a/src/float/transcendental/cl_LF_zeta_int.cc +++ b/src/float/transcendental/cl_LF_zeta_int.cc @@ -112,9 +112,9 @@ const cl_LF compute_zeta_cvz2 (int s, uintC len) thiss.n = n+1; return result; } - rational_series_stream (int _s, uintC _N) + rational_series_stream (int s_, uintC N_) : cl_pqd_series_stream (rational_series_stream::computenext), - n (0), s (_s), N (_N) {} + n (0), s (s_), N (N_) {} } series(s,N); var cl_pqd_series_result sums; eval_pqd_series_aux(N,series,sums,actuallen);