Problem with explicit copy ctor

Stromek stromek at realtime.sk
Fri Feb 23 11:22:08 CET 2007


Hi,

does anybody know how to fix the following error? Few weeks ago, everything was ok. I am using MSVC 7 .NET 2003.

Microsoft (R) Development Environment  Version 7.10.3077.
Copyright (C) Microsoft Corp 1984-2001. All rights reserved.
------ Build started: Project: kdecore, Configuration: Release Win32 ------

Generating kconfigskeleton.moc
Compiling...
ktoolinvocation_win.cpp
N:\incoming\kde\kdelibs\KDE\kdelibs\kdecore\util\ksharedptr.h(224) : error C2558
: class 'KSharedConfig' : no copy constructor available or copy constructor is d
eclared 'explicit'
        n:\Qt\4.2\include\QtCore\../../src\corelib\tools\qlist.h(87) : while com
piling class-template member function 'void KSharedPtr<T>::detach(void)'
        with
        [
            T=KSharedConfig
        ]
        N:\incoming\kde\kdelibs\KDE\kdelibs\kdecore\config\ksharedconfig.h(81) :
 see reference to class template instantiation 'KSharedPtr<T>' being compiled
        with
        [
            T=KSharedConfig
        ]
klibloader.cpp
N:\incoming\kde\kdelibs\KDE\kdelibs\kdecore\util\ksharedptr.h(224) : error C2558
: class 'KSharedConfig' : no copy constructor available or copy constructor is d
eclared 'explicit'
        n:\Qt\4.2\include\QtCore\../../src\corelib\global\qglobal.h(1646) : whil
e compiling class-template member function 'void KSharedPtr<T>::detach(void)'
        with
        [
            T=KSharedConfig
        ]
        N:\incoming\kde\kdelibs\KDE\kdelibs\kdecore\config\ksharedconfig.h(81) :
 see reference to class template instantiation 'KSharedPtr<T>' being compiled
        with
        [
            T=KSharedConfig
        ]
kprotocolinfo.cpp

Build log was saved at "file://n:\incoming\kde\kdelibs\Kde\kdelibs-build\kdecore
\kdecore.dir\Release\BuildLog.htm"
kdecore - 2 error(s), 0 warning(s)


---------------------- Done ----------------------

-- 
Stromek



More information about the Kde-windows mailing list