Hi Niki,
I did some tests around the patched versions. I found that:
- The patch works well for your test code with gcc and VS.NET
- VS.NET (2003 / 2005) can pass your test code without the patch
- Tests in "testSqPlus2unit/test_ClassInstance.cpp" fails with the patch
So, for gcc I've made small modification to the original snapshot.
I also added your test code to testSqPlus2unit/test_PointerToDerived.cpp.
Could you please test this modified version of SqPlus with your application?
You can get it from subversion:
$ svn co https://sqplus.svn.sourceforge.net/svnroot/sqplus/branches/kkawachi-r54-pointer-to-derived
K. Kawachi