I'm running into compile errors with QxORM 1.2.4 using QT5.0.1 (clang 64bit) on OS X Mountain Lion (1.8.2) with Boost 1.53.0 installed via Homebrew. Compiling (within Creator and from the command line) give the same errors:
- Code: Select all
In file included from ….QxOrm-build-Desktop_Qt_5_0_1_clang_64bit-Debug/../QxOrm/include/QxCommon/QxAnyCastDynamic.h:45:
….QxOrm-build-Desktop_Qt_5_0_1_clang_64bit-Debug/../QxOrm/include/QxDao/QxDaoPointer.h:175:97: error: use 'template' keyword to treat 'staticCast' as a dependent template name
template <class X> qx::dao::ptr<X> staticCast() const { return qx::dao::ptr<X>(m_pWork.staticCast<X>(), m_pOriginal.staticCast<X>()); }
^
template
….QxOrm-build-Desktop_Qt_5_0_1_clang_64bit-Debug/../QxOrm/include/QxDao/QxDaoPointer.h:175:126: error: use 'template' keyword to treat 'staticCast' as a dependent template name
template <class X> qx::dao::ptr<X> staticCast() const { return qx::dao::ptr<X>(m_pWork.staticCast<X>(), m_pOriginal.staticCast<X>()); }
^
template
….QxOrm-build-Desktop_Qt_5_0_1_clang_64bit-Debug/../QxOrm/include/QxDao/QxDaoPointer.h:176:97: error: use 'template' keyword to treat 'dynamicCast' as a dependent template name
template <class X> qx::dao::ptr<X> dynamicCast() const { return qx::dao::ptr<X>(m_pWork.dynamicCast<X>(), m_pOriginal.dynamicCast<X>()); }
^
template
….QxOrm-build-Desktop_Qt_5_0_1_clang_64bit-Debug/../QxOrm/include/QxDao/QxDaoPointer.h:176:127: error: use 'template' keyword to treat 'dynamicCast' as a dependent template name
template <class X> qx::dao::ptr<X> dynamicCast() const { return qx::dao::ptr<X>(m_pWork.dynamicCast<X>(), m_pOriginal.dynamicCast<X>()); }
^
template
….QxOrm-build-Desktop_Qt_5_0_1_clang_64bit-Debug/../QxOrm/include/QxDao/QxDaoPointer.h:177:97: error: use 'template' keyword to treat 'constCast' as a dependent template name
template <class X> qx::dao::ptr<X> constCast() const { return qx::dao::ptr<X>(m_pWork.constCast<X>(), m_pOriginal.constCast<X>()); }
^
template
….QxOrm-build-Desktop_Qt_5_0_1_clang_64bit-Debug/../QxOrm/include/QxDao/QxDaoPointer.h:177:125: error: use 'template' keyword to treat 'constCast' as a dependent template name
template <class X> qx::dao::ptr<X> constCast() const { return qx::dao::ptr<X>(m_pWork.constCast<X>(), m_pOriginal.constCast<X>()); }
^
template
6 errors generated.
make[1]: *** [debug/IxSingleton.o] Error 1
I also pulled down the 1.2.5_BETA_08 I came across while looking for a resolution, but the problem remains. Any suggestions for what I might be doing wrong? I appreciate any assistance!