[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [xmlblaster] error report in ClientProperty.h
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