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

Re: Re: [xmlblaster] error report in ClientProperty.h



Marcel Ruff,hello!

	ok, i had used 'Timestamp' as 'Timestamp ll=0L;' just now, and it works,
thanks.

======= 2004-04-28 20:38:42 has been wrote:=======

>pikaiyuan wrote:
>> Marcel Ruff,hello!
>
>pikaiyuan,Hello!
>
>> 
>> 	Yes,i had changed it to "_int64 ll=0", and it is ok now.
>>     Is there any problem in my changes?
>No, but i will change it here to 'Timestamp' to be portable as
>_int64 is an invention of Microsoft.
>
>best regards
>
>Marcel
>> 
>> thanks again
>> 
>> ======= 2004-04-28 18:33:14 has been wrote:=======
>> 
>> 
>>>pikaiyuan wrote:
>>>
>>>>Hello,every one
>>>>
>>>>	I got a error when i compile the xmlblaster cpp client lib 
>>>>in windows2000 with msvc7. The message is:
>>>>"D:\drivers\xmlBlaster_0_9\build.tmp\src\c++\util\qos\ClientProperty.h(216) :
>>>> error C2632: 'long' followed by 'long' is illegal
>>>>D:\drivers\xmlBlaster_0_9\build.tmp\src\c++\util\qos\ClientProperty.h(216) :
>>>> error C2059: syntax error : 'bad suffix on number'
>>>>D:\drivers\xmlBlaster_0_9\build.tmp\src\c++\util\qos\ClientProperty.h(216) :
>>>> error C2146: syntax error : missing ';' before identifier 'L'
>>>>D:\drivers\xmlBlaster_0_9\build.tmp\src\c++\util\qos\ClientProperty.h(216) :
>>>> error C2065: 'L' : undeclared identifier"
>>>>    I traced into src code and got the error position is "long long ll=0LL;"
>>>>
>>>>any suggestion?
>>>>
>>>>thanks any way        
>>>> 				
>>>>
>>>>			   pikaiyuan
>>>>			   2004-04-28	   
>>>>
>>>>
>>>
>>>Try instead:
>>>
>>>long long int ll=0LL;
>>>
>>>__int64 ll=0LL;
>>>
>>>Timestamp ll=0LL;  // See our util/xmlBlasterDef.h
>>>
>>>With standard C99 there is a portable 'int64_t'
>>>in stdint.h, but Windows does not support this
>>>so try the other variants.
>>>
>>>Please report which variants work,
>>>
>>>thanks,
>>>
>>>Marcel
>>>
>>>
>>>-- 
>>>http://www.xmlBlaster.org
>>>
>>>.
>> 
>> 
>> = = = = = = = = = = = = = = = = = = = =
>> 			
>> 
>>      
>>  
>> 				 
>> pikaiyuan
>> pikaiyuan at 163.com
>> 2004-04-28
>> 
>> 
>
>
>-- 
>http://www.xmlBlaster.org
>
>.

= = = = = = = = = = = = = = = = = = = =
			

     
 
				 
pikaiyuan
pikaiyuan at 163.com
2004-04-28