kdevplatform compile error
Andreas Pakulat
apaku at gmx.de
Wed Sep 10 13:12:11 CEST 2008
On 10.09.08 11:39:19, Ralf Habacker wrote:
> Hi,
>
> while trying to compile kdevplatform I recognized a compile error
>
> c:\downloads\kdesvn\trunk\kde\kdevplatform\language\duchain\ducontextdata.h(170)
> : error C2248: 'KDevelop::DUContext::d_func' : cannot access private
> member declared in class 'KDevelop::DUContext'
>
> c:\downloads\kdesvn\trunk\kde\kdevplatform\language\duchain\ducontext.h(721)
> : see declaration of 'KDevelop::DUContext::d_func'
>
> c:\downloads\kdesvn\trunk\kde\kdevplatform\language\duchain\ducontext.h(156)
> : see declaration of 'KDevelop::DUContext'
> c:\downloads\kdesvn\trunk\kde\kdevplatform\language\duchain\ducontextdata.h(215)
> : error C2248: 'KDevelop::DUContext::m_dynamicData' : cannot access
> private member declared in class 'KDevelop::DUContext'
>
> c:\downloads\kdesvn\trunk\kde\kdevplatform\language\duchain\ducontext.h(722)
> : see declaration of 'KDevelop::DUContext::m_dynamicDat
DUContextData is a friend class of DUContext, so according to C++
there's no reason it cannot access the private members of DUContext.
Which compiler are you using?
Andreas
--
There will be big changes for you but you will be happy.
More information about the Kde-windows
mailing list