|
Hello,
I get the following warnings/errors compiling with Visual Studio 2005.
------ Build started: Project: matrix, Configuration: Release Win32 ------
Compiling...
StdAfx.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
Compiling...
matrixDlg.cpp
MatrixCtrl.cpp
.\MatrixCtrl.cpp(385) : error C2440: 'initializing' : cannot convert from 'int' to 'ATL::CStringT<basetype,stringtraits>'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
No constructor could take the source type, or constructor overload resolution was ambiguous
.\MatrixCtrl.cpp(405) : error C2440: 'initializing' : cannot convert from 'int' to 'ATL::CStringT<basetype,stringtraits>'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
No constructor could take the source type, or constructor overload resolution was ambiguous
.\MatrixCtrl.cpp(413) : error C2593: 'operator =' is ambiguous
C:\Programme\Microsoft Visual Studio 8\VC\atlmfc\include\cstringt.h(1315): could be 'ATL::CStringT<basetype,stringtraits> &ATL::CStringT<basetype,stringtraits>::operator =(wchar_t)'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
C:\Programme\Microsoft Visual Studio 8\VC\atlmfc\include\cstringt.h(1308): or 'ATL::CStringT<basetype,stringtraits> &ATL::CStringT<basetype,stringtraits>::operator =(char)'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
while trying to match the argument list '(CString, int)'
.\MatrixCtrl.cpp(423) : error C2440: 'initializing' : cannot convert from 'int' to 'ATL::CStringT<basetype,stringtraits>'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
No constructor could take the source type, or constructor overload resolution was ambiguous
.\MatrixCtrl.cpp(441) : error C2440: 'initializing' : cannot convert from 'int' to 'ATL::CStringT<basetype,stringtraits>'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
No constructor could take the source type, or constructor overload resolution was ambiguous
matrix.cpp
.\matrix.cpp(50) : warning C4996: 'CWinApp::Enable3dControls': CWinApp::Enable3dControls is no longer needed. You should remove this call.
C:\Programme\Microsoft Visual Studio 8\VC\atlmfc\include\afxwin.h(4477) : see declaration of 'CWinApp::Enable3dControls'
Generating Code...
matrix - 5 error(s), 1 warning(s)
------ Build started: Project: matrix, Configuration: Debug Win32 ------
Compiling...
StdAfx.cpp
WINVER not defined. Defaulting to 0x0502 (Windows Server 2003)
Compiling...
matrix.cpp
d:\devtemp\matrixctrl\matrix.cpp(50) : warning C4996: 'CWinApp::Enable3dControls': CWinApp::Enable3dControls is no longer needed. You should remove this call.
c:\programme\microsoft visual studio 8\vc\atlmfc\include\afxwin.h(4477) : see declaration of 'CWinApp::Enable3dControls'
MatrixCtrl.cpp
d:\devtemp\matrixctrl\matrixctrl.cpp(385) : error C2440: 'initializing' : cannot convert from 'int' to 'ATL::CStringT<basetype,stringtraits>'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
No constructor could take the source type, or constructor overload resolution was ambiguous
d:\devtemp\matrixctrl\matrixctrl.cpp(405) : error C2440: 'initializing' : cannot convert from 'int' to 'ATL::CStringT<basetype,stringtraits>'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
No constructor could take the source type, or constructor overload resolution was ambiguous
d:\devtemp\matrixctrl\matrixctrl.cpp(413) : error C2593: 'operator =' is ambiguous
c:\programme\microsoft visual studio 8\vc\atlmfc\include\cstringt.h(1315): could be 'ATL::CStringT<basetype,stringtraits> &ATL::CStringT<basetype,stringtraits>::operator =(wchar_t)'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
c:\programme\microsoft visual studio 8\vc\atlmfc\include\cstringt.h(1308): or 'ATL::CStringT<basetype,stringtraits> &ATL::CStringT<basetype,stringtraits>::operator =(char)'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
while trying to match the argument list '(CString, int)'
d:\devtemp\matrixctrl\matrixctrl.cpp(423) : error C2440: 'initializing' : cannot convert from 'int' to 'ATL::CStringT<basetype,stringtraits>'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
No constructor could take the source type, or constructor overload resolution was ambiguous
d:\devtemp\matrixctrl\matrixctrl.cpp(441) : error C2440: 'initializing' : cannot convert from 'int' to 'ATL::CStringT<basetype,stringtraits>'
with
[
BaseType=char,
StringTraits=StrTraitMFC_DLL<char>
]
No constructor could take the source type, or constructor overload resolution was ambiguous
matrixDlg.cpp
Generating Code...
matrix - 5 error(s), 1 warning(s)
========== Build: 0 succeeded, 2 failed, 0 up-to-date, 0 skipped ==========
Andreas.
|
|
|
|