Package: src:quantlib-swig
Version: 1.36-3
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp test-stamp install-stamp
test -f Makefile && /usr/bin/make realclean
make: [debian/rules:156: clean] Error 1 (ignored)
(cd Python && for python in python3.12 python3.13; do           \
                $python setup.py clean --all;           \
                done &&                                 \
                rm -f QuantLib/*.pyc                    )
running clean
'build/lib.linux-x86_64-cpython-312' does not exist -- can't clean it
'build/bdist.linux-x86_64' does not exist -- can't clean it
'build/scripts-3.12' does not exist -- can't clean it

[... snipped ...]

src/QuantLib/quantlib_wrap.cpp:705341: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705341: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705341: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705341: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_shiftGrid(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705372: error: ‘SampledCurve’ was not 
declared in this scope
705372 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705372: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705372: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705386: error: ‘SampledCurve’ does not name 
a type
705386 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705386: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705386: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705386: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705386: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_scaleGrid(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705412: error: ‘SampledCurve’ was not 
declared in this scope
705412 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705412: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705412: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705426: error: ‘SampledCurve’ does not name 
a type
705426 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705426: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705426: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705426: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705426: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_regrid(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705452: error: ‘SampledCurve’ was not 
declared in this scope
705452 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705452: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705452: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705467: error: ‘SampledCurve’ does not name 
a type
705467 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705467: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705467: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705467: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705467: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_delete_SampledCurve(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705503: error: ‘SampledCurve’ was not 
declared in this scope
705503 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705503: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705503: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705515: error: ‘SampledCurve’ does not name 
a type
705515 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705515: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705515: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705515: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705515: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp:705518: error: type ‘<type error>’ argument 
given to ‘delete’, expected pointer
705518 |       delete arg1;
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_FixedRateBondForwardTo_p_BondForward(void*, int*)’:
src/QuantLib/quantlib_wrap.cpp:743058: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
743058 |     return (void *)((BondForward *)  ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:743058: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:743058: error: expected ‘)’ before ‘x’
743058 |     return (void *)((BondForward *)  ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:743058: error: expected ‘)’ before ‘;’ 
token
743058 |     return (void *)((BondForward *)  ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_FixedRateBondForwardTo_p_Forward(void*, int*)’:
src/QuantLib/quantlib_wrap.cpp:744309: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
744309 |     return (void *)((Forward *) (BondForward *) ((FixedRateBondForward 
*) x));
src/QuantLib/quantlib_wrap.cpp:744309: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:744309: error: expected ‘)’ before ‘x’
744309 |     return (void *)((Forward *) (BondForward *) ((FixedRateBondForward 
*) x));
src/QuantLib/quantlib_wrap.cpp:744309: error: expected ‘)’ before ‘;’ 
token
744309 |     return (void *)((Forward *) (BondForward *) ((FixedRateBondForward 
*) x));
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_FixedRateBondForwardTo_p_Instrument(void*, int*)’:
src/QuantLib/quantlib_wrap.cpp:745350: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
745350 |     return (void *)((Instrument *) (Forward *)(BondForward *) 
((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:745350: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:745350: error: expected ‘)’ before ‘x’
745350 |     return (void *)((Instrument *) (Forward *)(BondForward *) 
((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:745350: error: expected ‘)’ before ‘;’ 
token
745350 |     return (void *)((Instrument *) (Forward *)(BondForward *) 
((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_FixedRateBondForwardTo_p_LazyObject(void*, int*)’:
src/QuantLib/quantlib_wrap.cpp:745950: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
745950 |     return (void *)((LazyObject *) (Instrument *)(Forward 
*)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:745950: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:745950: error: expected ‘)’ before ‘x’
745950 |     return (void *)((LazyObject *) (Instrument *)(Forward 
*)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:745950: error: expected ‘)’ before ‘;’ 
token
745950 |     return (void *)((LazyObject *) (Instrument *)(Forward 
*)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_FixedRateBondForwardTo_p_Observable(void*, int*)’:
src/QuantLib/quantlib_wrap.cpp:746967: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
746967 |     return (void *)((Observable *) (LazyObject *)(Instrument 
*)(Forward *)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:746967: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:746967: error: expected ‘)’ before ‘x’
746967 |     return (void *)((Observable *) (LazyObject *)(Instrument 
*)(Forward *)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:746967: error: expected ‘)’ before ‘;’ 
token
746967 |     return (void *)((Observable *) (LazyObject *)(Instrument 
*)(Forward *)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_ext__shared_ptrT_FixedRateBondForward_tTo_p_ext__shared_ptrT_BondForward_t(void*,
 int*)’:
src/QuantLib/quantlib_wrap.cpp:750104: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
750104 |     return (void *) new ext::shared_ptr< BondForward 
>(*(ext::shared_ptr< FixedRateBondForward > *)x);
src/QuantLib/quantlib_wrap.cpp:750104: error: template argument 1 is invalid
src/QuantLib/quantlib_wrap.cpp:750104: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_ext__shared_ptrT_FixedRateBondForward_tTo_p_ext__shared_ptrT_Forward_t(void*,
 int*)’:
src/QuantLib/quantlib_wrap.cpp:751108: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
751108 |     return (void *) new ext::shared_ptr< Forward >(*(ext::shared_ptr< 
FixedRateBondForward > *)x);
src/QuantLib/quantlib_wrap.cpp:751108: error: template argument 1 is invalid
src/QuantLib/quantlib_wrap.cpp:751108: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_ext__shared_ptrT_FixedRateBondForward_tTo_p_ext__shared_ptrT_Instrument_t(void*,
 int*)’:
src/QuantLib/quantlib_wrap.cpp:752408: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
752408 |     return (void *) new ext::shared_ptr< Instrument 
>(*(ext::shared_ptr< FixedRateBondForward > *)x);
src/QuantLib/quantlib_wrap.cpp:752408: error: template argument 1 is invalid
src/QuantLib/quantlib_wrap.cpp:752408: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_ext__shared_ptrT_FixedRateBondForward_tTo_p_ext__shared_ptrT_LazyObject_t(void*,
 int*)’:
src/QuantLib/quantlib_wrap.cpp:753208: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
753208 |     return (void *) new ext::shared_ptr< LazyObject 
>(*(ext::shared_ptr< FixedRateBondForward > *)x);
src/QuantLib/quantlib_wrap.cpp:753208: error: template argument 1 is invalid
src/QuantLib/quantlib_wrap.cpp:753208: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_ext__shared_ptrT_FixedRateBondForward_tTo_p_ext__shared_ptrT_Observable_t(void*,
 int*)’:
src/QuantLib/quantlib_wrap.cpp:754564: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
754564 |     return (void *) new ext::shared_ptr< Observable 
>(*(ext::shared_ptr< FixedRateBondForward > *)x);
src/QuantLib/quantlib_wrap.cpp:754564: error: template argument 1 is invalid
src/QuantLib/quantlib_wrap.cpp:754564: error: expected primary-expression 
before ‘)’ token
error: command '/usr/bin/g++' failed with exit code 1
running build
running build_py
creating build/lib.linux-x86_64-cpython-313/QuantLib
copying src/QuantLib/__init__.py -> build/lib.linux-x86_64-cpython-313/QuantLib
copying src/QuantLib/QuantLib.py -> build/lib.linux-x86_64-cpython-313/QuantLib
running build_ext
building 'QuantLib._QuantLib' extension
creating build/temp.linux-x86_64-cpython-313/src/QuantLib
g++ -g0 -Wall -Wno-strict-aliasing -DBOOST_NO_AUTO_PTR -fPIC 
-DPy_LIMITED_API=0x03080000 -DNDEBUG -I/usr/include -I/usr/include/python3.13 
-c src/QuantLib/quantlib_wrap.cpp -o 
build/temp.linux-x86_64-cpython-313/src/QuantLib/quantlib_wrap.o -fopenmp 
-std=c++17 -Wno-unused -g0 -Wall -Wno-strict-aliasing -DBOOST_NO_AUTO_PTR
src/QuantLib/quantlib_wrap.cpp:9664:17: error: ‘SampledCurve’ has not been 
declared in ‘QuantLib’
 9664 | using QuantLib::SampledCurve;
      |                 ^~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp: In function ‘MatrixRow 
Matrix___getitem__(QuantLib::Matrix*, QuantLib::Integer)’:
src/QuantLib/quantlib_wrap.cpp:9840:29: warning: comparison of integer 
expressions of different signedness: ‘QuantLib::Integer’ {aka ‘int’} 
and ‘QuantLib::Size’ {aka ‘long unsigned int’} [-Wsign-compare]
 9840 |             if (i >= 0 && i < self->rows())
      |                           ~~^~~~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp: At global scope:
src/QuantLib/quantlib_wrap.cpp:13688:12: error: ‘SampledCurve’ does not 
name a type
13688 | SWIGINTERN SampledCurve VanillaOption_priceCurve(VanillaOption *self){
      |            ^~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp:15910:17: error: ‘FixedRateBondForward’ has 
not been declared in ‘QuantLib’
15910 | using QuantLib::FixedRateBondForward;
      |                 ^~~~~~~~~~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_VanillaOption_priceCurve(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:322695:3: error: ‘SampledCurve’ was not 
declared in this scope
322695 |   SampledCurve result;
       |   ^~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp:322717:7: error: ‘result’ was not declared 
in this scope
322717 |       result = VanillaOption_priceCurve(arg1);
       |       ^~~~~~
src/QuantLib/quantlib_wrap.cpp:322717:16: error: ‘VanillaOption_priceCurve’ 
was not declared in this scope; did you mean 
‘_wrap_VanillaOption_priceCurve’?
322717 |       result = VanillaOption_priceCurve(arg1);
       |                ^~~~~~~~~~~~~~~~~~~~~~~~
       |                _wrap_VanillaOption_priceCurve
src/QuantLib/quantlib_wrap.cpp:322726:39: error: expected type-specifier before 
‘SampledCurve’
322726 |   resultobj = SWIG_NewPointerObj((new SampledCurve(result)), 
SWIGTYPE_p_SampledCurve, SWIG_POINTER_OWN |  0 );
       |                                       ^~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp:1167:89: note: in definition of macro 
‘SWIG_NewPointerObj’
 1167 | #define SWIG_NewPointerObj(ptr, type, flags)            
SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
      |                                                                         
                ^~~
src/QuantLib/quantlib_wrap.cpp:322726:39: error: expected ‘)’ before 
‘SampledCurve’
322726 |   resultobj = SWIG_NewPointerObj((new SampledCurve(result)), 
SWIGTYPE_p_SampledCurve, SWIG_POINTER_OWN |  0 );
       |                                  ~    ^~~~~~~~~~~~
src/QuantLib/quantlib_wrap.cpp:1167:89: note: in definition of macro 
‘SWIG_NewPointerObj’
 1167 | #define SWIG_NewPointerObj(ptr, type, flags)            
SWIG_Python_NewPointerObj(NULL, ptr, type, flags)
      |                                                                         
                ^~~
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_new_QdPlusAmericanEngine(PyObject*, PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:336205: note: ‘-Wmisleading-indentation’ is 
disabled from this point onwards, since column-tracking was disabled due to the 
size of the code/headers
336205 |   if (!PyArg_ParseTupleAndKeywords(args, kwargs, 
"O|OOOO:new_QdPlusAmericanEngine", kwnames, &obj0, &obj1, &obj2, &obj3, &obj4)) 
SWIG_fail;
src/QuantLib/quantlib_wrap.cpp:336205: note: adding ‘-flarge-source-files’ 
will allow for more column-tracking support, at the expense of compilation time 
and memory
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_new_FixedRateBondForward__SWIG_0(PyObject*, Py_ssize_t, PyObject**)’:
src/QuantLib/quantlib_wrap.cpp:521632: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
521632 |   FixedRateBondForward *result = 0 ;
src/QuantLib/quantlib_wrap.cpp:521632: error: ‘result’ was not declared in 
this scope
src/QuantLib/quantlib_wrap.cpp:521720: error: expected primary-expression 
before ‘)’ token
521720 |       result = (FixedRateBondForward *)new FixedRateBondForward((Date 
const &)*arg1,(Date const &)*arg2,arg3,arg4,arg5,(DayCounter const 
&)*arg6,(Calendar const &)*arg7,arg8,(ext::shared_ptr< FixedRateBond > const 
&)*arg9,(Handle< YieldTermStructure > const &)*arg10,(Handle< 
YieldTermStructure > const &)*arg11);
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_new_FixedRateBondForward__SWIG_1(PyObject*, Py_ssize_t, PyObject**)’:
src/QuantLib/quantlib_wrap.cpp:521772: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
521772 |   FixedRateBondForward *result = 0 ;
src/QuantLib/quantlib_wrap.cpp:521772: error: ‘result’ was not declared in 
this scope
src/QuantLib/quantlib_wrap.cpp:521852: error: expected primary-expression 
before ‘)’ token
521852 |       result = (FixedRateBondForward *)new FixedRateBondForward((Date 
const &)*arg1,(Date const &)*arg2,arg3,arg4,arg5,(DayCounter const 
&)*arg6,(Calendar const &)*arg7,arg8,(ext::shared_ptr< FixedRateBond > const 
&)*arg9,(Handle< YieldTermStructure > const &)*arg10);
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_new_FixedRateBondForward__SWIG_2(PyObject*, Py_ssize_t, PyObject**)’:
src/QuantLib/quantlib_wrap.cpp:521901: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
521901 |   FixedRateBondForward *result = 0 ;
src/QuantLib/quantlib_wrap.cpp:521901: error: ‘result’ was not declared in 
this scope
src/QuantLib/quantlib_wrap.cpp:521973: error: expected primary-expression 
before ‘)’ token
521973 |       result = (FixedRateBondForward *)new FixedRateBondForward((Date 
const &)*arg1,(Date const &)*arg2,arg3,arg4,arg5,(DayCounter const 
&)*arg6,(Calendar const &)*arg7,arg8,(ext::shared_ptr< FixedRateBond > const 
&)*arg9);
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_delete_FixedRateBondForward(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:522169: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
522169 |   FixedRateBondForward *arg1 = (FixedRateBondForward *) 0 ;
src/QuantLib/quantlib_wrap.cpp:522169: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:522169: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:522186: error: expected ‘>’ before ‘*’ 
token
522186 |       tempshared1 = *reinterpret_cast< ext::shared_ptr<  
FixedRateBondForward > * >(argp1);
src/QuantLib/quantlib_wrap.cpp:522186: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:522186: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:522186: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp:522187: error: expected ‘>’ before ‘*’ 
token
522187 |       delete reinterpret_cast< ext::shared_ptr<  FixedRateBondForward 
> * >(argp1);
src/QuantLib/quantlib_wrap.cpp:522187: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:522187: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:522187: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp:522188: error: ‘FixedRateBondForward’ does 
not name a type; did you mean ‘FixedRateBondHelper’?
522188 |       arg1 = const_cast< FixedRateBondForward * >(tempshared1.get());
src/QuantLib/quantlib_wrap.cpp:522188: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:522188: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:522188: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:522188: error: request for member ‘get’ in 
‘tempshared1’, which is of non-class type ‘int’
src/QuantLib/quantlib_wrap.cpp:522188: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp:522190: error: expected ‘>’ before ‘*’ 
token
522190 |       smartarg1 = reinterpret_cast< ext::shared_ptr<  
FixedRateBondForward > * >(argp1);
src/QuantLib/quantlib_wrap.cpp:522190: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:522190: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:522190: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp:522191: error: ‘FixedRateBondForward’ does 
not name a type; did you mean ‘FixedRateBondHelper’?
522191 |       arg1 = const_cast< FixedRateBondForward * >((smartarg1 ? 
smartarg1->get() : 0));
src/QuantLib/quantlib_wrap.cpp:522191: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:522191: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:522191: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:522191: error: request for member ‘get’ in 
‘* smartarg1’, which is of non-class type ‘int’
src/QuantLib/quantlib_wrap.cpp:522191: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_new_SampledCurve__SWIG_0(PyObject*, Py_ssize_t, PyObject**)’:
src/QuantLib/quantlib_wrap.cpp:704798: error: ‘SampledCurve’ was not 
declared in this scope
704798 |   SampledCurve *result = 0 ;
src/QuantLib/quantlib_wrap.cpp:704798: error: ‘result’ was not declared in 
this scope; did you mean ‘resultobj’?
src/QuantLib/quantlib_wrap.cpp:704804: error: expected primary-expression 
before ‘)’ token
704804 |       result = (SampledCurve *)new SampledCurve();
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_new_SampledCurve__SWIG_1(PyObject*, Py_ssize_t, PyObject**)’:
src/QuantLib/quantlib_wrap.cpp:704826: error: ‘SampledCurve’ was not 
declared in this scope
704826 |   SampledCurve *result = 0 ;
src/QuantLib/quantlib_wrap.cpp:704826: error: ‘result’ was not declared in 
this scope
src/QuantLib/quantlib_wrap.cpp:704847: error: expected primary-expression 
before ‘)’ token
704847 |       result = (SampledCurve *)new SampledCurve((Array const &)*arg1);
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_grid(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:704913: error: ‘SampledCurve’ was not 
declared in this scope
704913 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:704913: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:704913: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:704926: error: ‘SampledCurve’ does not name 
a type
704926 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:704926: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:704926: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:704926: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:704926: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_values(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:704947: error: ‘SampledCurve’ was not 
declared in this scope
704947 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:704947: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:704947: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:704960: error: ‘SampledCurve’ does not name 
a type
704960 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:704960: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:704960: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:704960: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:704960: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_gridValue(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:704981: error: ‘SampledCurve’ was not 
declared in this scope
704981 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:704981: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:704981: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:704996: error: ‘SampledCurve’ does not name 
a type
704996 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:704996: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:704996: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:704996: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:704996: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_value(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705022: error: ‘SampledCurve’ was not 
declared in this scope
705022 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705022: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705022: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705037: error: ‘SampledCurve’ does not name 
a type
705037 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705037: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705037: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705037: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705037: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_size(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705063: error: ‘SampledCurve’ was not 
declared in this scope
705063 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705063: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705063: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705076: error: ‘SampledCurve’ does not name 
a type
705076 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705076: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705076: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705076: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705076: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp:705079: error: expected ‘)’ before 
‘const’
705079 |       result = ((SampledCurve const *)arg1)->size();
src/QuantLib/quantlib_wrap.cpp:705079: error: expected ‘)’ before ‘;’ 
token
705079 |       result = ((SampledCurve const *)arg1)->size();
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_empty(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705097: error: ‘SampledCurve’ was not 
declared in this scope
705097 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705097: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705097: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705110: error: ‘SampledCurve’ does not name 
a type
705110 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705110: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705110: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705110: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705110: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp:705113: error: expected ‘)’ before 
‘const’
705113 |       result = (bool)((SampledCurve const *)arg1)->empty();
src/QuantLib/quantlib_wrap.cpp:705113: error: expected ‘)’ before ‘;’ 
token
705113 |       result = (bool)((SampledCurve const *)arg1)->empty();
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_setGrid(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705131: error: ‘SampledCurve’ was not 
declared in this scope
705131 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705131: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705131: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705146: error: ‘SampledCurve’ does not name 
a type
705146 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705146: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705146: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705146: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705146: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_setValues(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705182: error: ‘SampledCurve’ was not 
declared in this scope
705182 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705182: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705182: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705197: error: ‘SampledCurve’ does not name 
a type
705197 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705197: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705197: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705197: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705197: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_swap(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705233: error: ‘SampledCurve’ was not 
declared in this scope
705233 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705233: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705233: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705234: error: ‘arg2’ was not declared in 
this scope; did you mean ‘args’?
705234 |   SampledCurve *arg2 = 0 ;
src/QuantLib/quantlib_wrap.cpp:705247: error: ‘SampledCurve’ does not name 
a type
705247 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705247: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705247: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705247: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705247: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp:705255: error: ‘SampledCurve’ does not name 
a type
705255 |   arg2 = reinterpret_cast< SampledCurve * >(argp2);
src/QuantLib/quantlib_wrap.cpp:705255: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705255: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705255: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705255: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_setLogGrid(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705276: error: ‘SampledCurve’ was not 
declared in this scope
705276 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705276: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705276: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705293: error: ‘SampledCurve’ does not name 
a type
705293 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705293: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705293: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705293: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705293: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_regridLogGrid(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705324: error: ‘SampledCurve’ was not 
declared in this scope
705324 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705324: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705324: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705341: error: ‘SampledCurve’ does not name 
a type
705341 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705341: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705341: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705341: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705341: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_shiftGrid(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705372: error: ‘SampledCurve’ was not 
declared in this scope
705372 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705372: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705372: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705386: error: ‘SampledCurve’ does not name 
a type
705386 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705386: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705386: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705386: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705386: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_scaleGrid(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705412: error: ‘SampledCurve’ was not 
declared in this scope
705412 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705412: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705412: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705426: error: ‘SampledCurve’ does not name 
a type
705426 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705426: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705426: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705426: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705426: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_SampledCurve_regrid(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705452: error: ‘SampledCurve’ was not 
declared in this scope
705452 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705452: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705452: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705467: error: ‘SampledCurve’ does not name 
a type
705467 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705467: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705467: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705467: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705467: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp: In function ‘PyObject* 
_wrap_delete_SampledCurve(PyObject*, PyObject*)’:
src/QuantLib/quantlib_wrap.cpp:705503: error: ‘SampledCurve’ was not 
declared in this scope
705503 |   SampledCurve *arg1 = (SampledCurve *) 0 ;
src/QuantLib/quantlib_wrap.cpp:705503: error: ‘arg1’ was not declared in 
this scope; did you mean ‘args’?
src/QuantLib/quantlib_wrap.cpp:705503: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:705515: error: ‘SampledCurve’ does not name 
a type
705515 |   arg1 = reinterpret_cast< SampledCurve * >(argp1);
src/QuantLib/quantlib_wrap.cpp:705515: error: expected ‘>’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705515: error: expected ‘(’ before ‘*’ 
token
src/QuantLib/quantlib_wrap.cpp:705515: error: expected primary-expression 
before ‘>’ token
src/QuantLib/quantlib_wrap.cpp:705515: error: expected ‘)’ before ‘;’ 
token
src/QuantLib/quantlib_wrap.cpp:705518: error: type ‘<type error>’ argument 
given to ‘delete’, expected pointer
705518 |       delete arg1;
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_FixedRateBondForwardTo_p_BondForward(void*, int*)’:
src/QuantLib/quantlib_wrap.cpp:743058: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
743058 |     return (void *)((BondForward *)  ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:743058: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:743058: error: expected ‘)’ before ‘x’
743058 |     return (void *)((BondForward *)  ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:743058: error: expected ‘)’ before ‘;’ 
token
743058 |     return (void *)((BondForward *)  ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_FixedRateBondForwardTo_p_Forward(void*, int*)’:
src/QuantLib/quantlib_wrap.cpp:744309: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
744309 |     return (void *)((Forward *) (BondForward *) ((FixedRateBondForward 
*) x));
src/QuantLib/quantlib_wrap.cpp:744309: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:744309: error: expected ‘)’ before ‘x’
744309 |     return (void *)((Forward *) (BondForward *) ((FixedRateBondForward 
*) x));
src/QuantLib/quantlib_wrap.cpp:744309: error: expected ‘)’ before ‘;’ 
token
744309 |     return (void *)((Forward *) (BondForward *) ((FixedRateBondForward 
*) x));
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_FixedRateBondForwardTo_p_Instrument(void*, int*)’:
src/QuantLib/quantlib_wrap.cpp:745350: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
745350 |     return (void *)((Instrument *) (Forward *)(BondForward *) 
((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:745350: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:745350: error: expected ‘)’ before ‘x’
745350 |     return (void *)((Instrument *) (Forward *)(BondForward *) 
((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:745350: error: expected ‘)’ before ‘;’ 
token
745350 |     return (void *)((Instrument *) (Forward *)(BondForward *) 
((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_FixedRateBondForwardTo_p_LazyObject(void*, int*)’:
src/QuantLib/quantlib_wrap.cpp:745950: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
745950 |     return (void *)((LazyObject *) (Instrument *)(Forward 
*)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:745950: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:745950: error: expected ‘)’ before ‘x’
745950 |     return (void *)((LazyObject *) (Instrument *)(Forward 
*)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:745950: error: expected ‘)’ before ‘;’ 
token
745950 |     return (void *)((LazyObject *) (Instrument *)(Forward 
*)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_FixedRateBondForwardTo_p_Observable(void*, int*)’:
src/QuantLib/quantlib_wrap.cpp:746967: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
746967 |     return (void *)((Observable *) (LazyObject *)(Instrument 
*)(Forward *)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:746967: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp:746967: error: expected ‘)’ before ‘x’
746967 |     return (void *)((Observable *) (LazyObject *)(Instrument 
*)(Forward *)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp:746967: error: expected ‘)’ before ‘;’ 
token
746967 |     return (void *)((Observable *) (LazyObject *)(Instrument 
*)(Forward *)(BondForward *) ((FixedRateBondForward *) x));
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_ext__shared_ptrT_FixedRateBondForward_tTo_p_ext__shared_ptrT_BondForward_t(void*,
 int*)’:
src/QuantLib/quantlib_wrap.cpp:750104: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
750104 |     return (void *) new ext::shared_ptr< BondForward 
>(*(ext::shared_ptr< FixedRateBondForward > *)x);
src/QuantLib/quantlib_wrap.cpp:750104: error: template argument 1 is invalid
src/QuantLib/quantlib_wrap.cpp:750104: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_ext__shared_ptrT_FixedRateBondForward_tTo_p_ext__shared_ptrT_Forward_t(void*,
 int*)’:
src/QuantLib/quantlib_wrap.cpp:751108: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
751108 |     return (void *) new ext::shared_ptr< Forward >(*(ext::shared_ptr< 
FixedRateBondForward > *)x);
src/QuantLib/quantlib_wrap.cpp:751108: error: template argument 1 is invalid
src/QuantLib/quantlib_wrap.cpp:751108: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_ext__shared_ptrT_FixedRateBondForward_tTo_p_ext__shared_ptrT_Instrument_t(void*,
 int*)’:
src/QuantLib/quantlib_wrap.cpp:752408: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
752408 |     return (void *) new ext::shared_ptr< Instrument 
>(*(ext::shared_ptr< FixedRateBondForward > *)x);
src/QuantLib/quantlib_wrap.cpp:752408: error: template argument 1 is invalid
src/QuantLib/quantlib_wrap.cpp:752408: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_ext__shared_ptrT_FixedRateBondForward_tTo_p_ext__shared_ptrT_LazyObject_t(void*,
 int*)’:
src/QuantLib/quantlib_wrap.cpp:753208: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
753208 |     return (void *) new ext::shared_ptr< LazyObject 
>(*(ext::shared_ptr< FixedRateBondForward > *)x);
src/QuantLib/quantlib_wrap.cpp:753208: error: template argument 1 is invalid
src/QuantLib/quantlib_wrap.cpp:753208: error: expected primary-expression 
before ‘)’ token
src/QuantLib/quantlib_wrap.cpp: In function ‘void* 
_p_ext__shared_ptrT_FixedRateBondForward_tTo_p_ext__shared_ptrT_Observable_t(void*,
 int*)’:
src/QuantLib/quantlib_wrap.cpp:754564: error: ‘FixedRateBondForward’ was 
not declared in this scope; did you mean ‘FixedRateBondHelper’?
754564 |     return (void *) new ext::shared_ptr< Observable 
>(*(ext::shared_ptr< FixedRateBondForward > *)x);
src/QuantLib/quantlib_wrap.cpp:754564: error: template argument 1 is invalid
src/QuantLib/quantlib_wrap.cpp:754564: error: expected primary-expression 
before ‘)’ token
error: command '/usr/bin/g++' failed with exit code 1
make: *** [debian/rules:105: build-stamp] Error 1
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202501/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:quantlib-swig, so that this is still
visible in the BTS web page for this package.

Thanks.

Reply via email to