[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [xmlblaster] problem about the new version 0.9



You mean you fixed the lexical_cast.h file?
I downloaded the latestest version last night. It seem that problem still exist.
When did u updated the cvs?



From: Marcel Ruff <mr at marcelruff.info>
Reply-To: xmlblaster at server.xmlBlaster.org
To: xmlblaster at server.xmlblaster.org
Subject: Re: [xmlblaster] problem about the new version 0.9
Date: Fri, 02 Apr 2004 11:26:54 +0200

Hi zhang,

the current cvs contains a fix for this issue.
The lexical_cast is corrected so there is no need
for the specialized assertEquals() anymore.

Please report if this solves your compilation
problem,

regards,
Marcel

> zhang zhi wei wrote:
>
>>I am evaluationg the new 0.9 and find a strange behaviour.
>>
>>build cpp-test
>>it reports:
>>        [cc]
>>C:\0.9\xmlBlaster\testsuite\src\c++\TestClientProperty.cpp(56) : err
>>or C2782: “void
>>org::inforMessaging::test::assertEquals(org::inforMessaging::ut
>>il::I_Log &,const std::string &,const T &,const T &,const std::string
>>&)” : template
>>parameter “T”is unclear
>>      [cc]         maybe“std::string”
>>      [cc]         or      “char [4]”
>>
>> I check the TestClientProperty.cpp and find out that is use the
>>testsuite.h file as an
>>include file.
>>   The testsuite.h contains two assertEquals method . one is a template
>>method and the other is a common method. the compiler seems to be
>>puzzled by these two methods.
>>
>> I use the vc7 and the corba product is  ORBACUS.
>
>
> Hi Zhang,
>
> i use vc7 and it compiles well, probably
> we have a different minor version.
>
> Can you try to add  "template<> "
> in front of the std::string specialized function:
>
>   template<> void assertEquals(...
>
> of if this does not help add a variant using char[].
>
> Please report if this helps,
>
> thanks
>
> Marcel
>
>> thanks  a lot!
>>
>>_________________________________________________________________
>>享用世界上最大的电子邮件系统― MSN Hotmail。  http://www.hotmail.com
>>
>
>
>


-- http://www.xmlBlaster.org

_________________________________________________________________
享用世界上最大的电子邮件系统― MSN Hotmail。 http://www.hotmail.com