|
From: Craig M. <cra...@ya...> - 2009-12-04 00:10:14
|
I pulled down the SVN last night and ran a batch build to see how things are going. According to my build syntheticcdoengines.hpp (line 203) throw an error C2664. My previous build ran without this error, the primary change being syntheticcdoengines.hpp (line 84) supplied a default value to the MidPointCDOEngine.
MidPointCDOEngine (Period stepSize = 0*Days) {}
I didn't dig into this to understand correctness, but changing this line back fixed the build error
Regards,
cm
FYI: full build output is available if needed
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Build Configuration
1. Visual Studio 2008 Professional
2. Boost library version 1.41
3. Batch build of all QuantLib and testsuite projects
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
First Batch Build: typical build error
All testsuite project configurations report this error:
..\ql/experimental/credit/syntheticcdoengines.hpp(203) : error C2664: 'QuantLib::MidPointCDOEngine::MidPointCDOEngine(const QuantLib::MidPointCDOEngine &)' : cannot convert parameter 1 from 'QuantLib::Period' to 'const QuantLib::MidPointCDOEngine &'
Reason: cannot convert from 'QuantLib::Period' to 'const QuantLib::MidPointCDOEngine'
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
..\ql/experimental/credit/syntheticcdoengines.hpp(201) : while compiling class template member function 'QuantLib::InhomogeneousPoolCDOEngine<CDOEngine>::InhomogeneousPoolCDOEngine(const QuantLib::Handle<T>,QuantLib::Size,QuantLib::Period)'
with
[
CDOEngine=QuantLib::MidPointCDOEngine,
T=QuantLib::OneFactorCopula
]
.\cdo.cpp(155) : see reference to class template instantiation 'QuantLib::InhomogeneousPoolCDOEngine<CDOEngine>' being compiled
with
[
CDOEngine=QuantLib::MidPointCDOEngine
]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Second Batch Build: Changed the syntheticcdoengines.hpp(84) back to previous syntax
MidPointCDOEngine (Period stepSize = 0*Days) {}
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Second Batch Build Summary built clean without
###1
------ Build started: Project: QuantLib, Configuration: Debug (static runtime) x64 ------
QuantLib - 0 error(s), 0 warning(s)
###2
------ Build started: Project: QuantLib, Configuration: Debug (static runtime) Win32 ------
QuantLib - 0 error(s), 0 warning(s)
###3
------ Build started: Project: QuantLib, Configuration: Release (static runtime) x64 ------
QuantLib - 0 error(s), 0 warning(s)
###4
------ Build started: Project: QuantLib, Configuration: Release (static runtime) Win32 ------
QuantLib - 0 error(s), 0 warning(s)
###5
------ Build started: Project: QuantLib, Configuration: Debug x64 ------
QuantLib - 0 error(s), 0 warning(s)
###6
------ Build started: Project: QuantLib, Configuration: Debug Win32 ------
QuantLib - 0 error(s), 0 warning(s)
###7
------ Build started: Project: QuantLib, Configuration: Release x64 ------
QuantLib - 0 error(s), 0 warning(s)
###8
------ Build started: Project: QuantLib, Configuration: Release Win32 ------
QuantLib - 0 error(s), 0 warning(s)
###9
------ Build started: Project: testsuite, Configuration: Release x64 ------
Tests completed in 22 m 47 s
Test suite "Master Test Suite" passed with:
1688 assertions out of 1688 passed
445 test cases out of 445 passed
testsuite - 0 error(s), 11 warning(s)
###10
------ Build started: Project: testsuite, Configuration: Release Win32 ------
Tests completed in 26 m 49 s
Test suite "Master Test Suite" passed with:
1688 assertions out of 1688 passed
445 test cases out of 445 passed
testsuite - 0 error(s), 0 warning(s)
###11
------ Build started: Project: testsuite, Configuration: Debug x64 ------
testsuite - 0 error(s), 11 warning(s)
###12
------ Build started: Project: testsuite, Configuration: Debug Win32 ------
testsuite - 0 error(s), 0 warning(s)
###13
------ Build started: Project: testsuite, Configuration: Release (static runtime) x64 ------
Tests completed in 21 m 8 s
Test suite "Master Test Suite" passed with:
1688 assertions out of 1688 passed
445 test cases out of 445 passed
testsuite - 0 error(s), 11 warning(s)
###14
------ Build started: Project: testsuite, Configuration: Release (static runtime) Win32 ------
Tests completed in 25 m 19 s
Test suite "Master Test Suite" passed with:
1688 assertions out of 1688 passed
445 test cases out of 445 passed
testsuite - 0 error(s), 0 warning(s)
###15
------ Build started: Project: testsuite, Configuration: Debug (static runtime) x64 ------
testsuite - 0 error(s), 11 warning(s)
###16
------ Build started: Project: testsuite, Configuration: Debug (static runtime) Win32 ------
testsuite - 0 error(s), 0 warning(s)
========== Build: 16 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|