From:
[email protected]
Package: quantlib
Severity: normal
Tags: patch
With the attached patch 'quantlib' can be compiled using gcc-3.4.
Regards
Andreas Jochens
diff -urN ../tmp-orig/quantlib-0.3.7/ql/CashFlows/shortindexedcoupon.hpp ./ql/CashFlows/shortindexedcoupon.hpp
--- ../tmp-orig/quantlib-0.3.7/ql/CashFlows/shortindexedcoupon.hpp 2004-05-12 11:46:10.000000000 +0200
+++ ./ql/CashFlows/shortindexedcoupon.hpp 2004-08-18 00:06:02.164098553 +0200
@@ -53,9 +53,9 @@
Real amount() const {
QL_FAIL("short/long indexed coupons not supported yet"
" (start = " +
- DateFormatter::toString(accrualStartDate_) +
+ DateFormatter::toString(this->accrualStartDate_) +
", end = " +
- DateFormatter::toString(accrualEndDate_) + ")");
+ DateFormatter::toString(this->accrualEndDate_) + ")");
}
};
diff -urN ../tmp-orig/quantlib-0.3.7/ql/Math/bicubicsplineinterpolation.hpp ./ql/Math/bicubicsplineinterpolation.hpp
--- ../tmp-orig/quantlib-0.3.7/ql/Math/bicubicsplineinterpolation.hpp 2004-05-12 18:16:52.000000000 +0200
+++ ./ql/Math/bicubicsplineinterpolation.hpp 2004-08-17 23:43:16.623692249 +0200
@@ -42,16 +42,16 @@