|
From: Shawn P. <spo...@ya...> - 2004-07-23 18:29:10
|
Forwarding to MMCd Tools list.
--- Clinton Battersby <cba...@la...> wrote:
> From: "Clinton Battersby" <cba...@la...>
> To: <mmc...@li...>
> Subject: [Mmcdlogger-discuss] MMCdTools Build Error
> Date: Fri, 23 Jul 2004 12:22:21 -0400
>
> I thought I had sent this to you earlier but could not locate the
> email so I
> figured I would send it again. I got this error when attempting to
> build the
> MMCdTools project .2a usibng .NET 2003 Enterprise.
>
> Re-casting the expression works but want to find out if you had seen
> the
> same problem and make sure I make the same change to gencat.cpp.
>
>
> Clint
>
>
> Compiling...
> gencat.cpp
> \code\palm\CDK403\C++\Samples\GenCns\GenCn\Src\gencat.cpp(507) :
> error
> C2666: 'operator`=='' : 5 overloads have similar conversions
> h:\code\palm\CDK403\C++\Pfc\include\CPString.h(302): could be
> 'BOOL
> operator ==(LPCTSTR,const CPString &)'
> h:\code\palm\CDK403\C++\Pfc\include\CPString.h(301): or
> 'BOOL
> operator ==(const CPString &,LPCTSTR)'
> h:\code\palm\CDK403\C++\Pfc\include\CPString.h(300): or
> 'BOOL
> operator ==(const CPString &,const CPString &)'
> or 'built-in C++ operator==(LPCTSTR, LPCTSTR)'
> or 'built-in C++ operator==(char *, char *)'
> while trying to match the argument list '(CPString, char *)'
> note: qualification adjustment (const/volatile) may be
> causing the
> ambiguity
>
>
>
>
> Clint
>
>
>
>
>
>
>
>
---------------------------------
Build Log
------- Build started: Project: MMCdSync, Configuration: Debug|Win32
-------
Command Lines
Creating temporary file "h:\code\MMCdTools-0.2a\MMCd HotSync
Conduit\Debug\RSP000003.rsp" with contents[/Od /I "." /I
"h:\code\palm\cdk403\C++\Include" /I
"h:\code\palm\cdk403\C++\pfc\Include" /I
"h:\code\palm\cdk403\C++\Samples\GenCns\GenCn\Include" /I
"..\mmcdhelp\include" /D "_CONDUIT_" /D "WIN32" /D "_DEBUG" /D
"_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "_WINDLL" /FD /EHsc /MTd /GS
/Fo"Debug/" /Fd"Debug/vc70.pdb" /c /Zi
/TP"\code\palm\Cdk403\C++\Samples\GenCns\GenCn\Src\gencat.cpp"]Creating
command line "cl.exe @"h:\code\MMCdTools-0.2a\MMCd HotSync
Conduit\Debug\RSP000003.rsp" /nologo"
Output Window
Compiling...gencat.cpp\code\palm\CDK403\C++\Samples\GenCns\GenCn\Src\gencat.cpp(507)
: error C2666: 'operator`=='' : 5 overloads have similar conversions
h:\code\palm\CDK403\C++\Pfc\include\CPString.h(302): could be 'BOOL
operator ==(LPCTSTR,const CPString )'
h:\code\palm\CDK403\C++\Pfc\include\CPString.h(301): or 'BOOL
operator ==(const CPString ,LPCTSTR)'
h:\code\palm\CDK403\C++\Pfc\include\CPString.h(300): or 'BOOL
operator ==(const CPString ,const CPString )' or 'built-in
C++ operator==(LPCTSTR, LPCTSTR)' or 'built-in C++
operator==(char *, char *)' while trying to match the argument
list '(CPString, char *)' note: qualification adjustment
(const/volatile) may be causing the ambiguity
Results
Build log was saved at "file://h:\code\MMCdTools-0.2a\MMCd HotSync
Conduit\Debug\BuildLog.htm"MMCdSync - 1 error(s), 0 warning(s)
=====
---
Shawn Poulson
spo...@ex...
|