Hi Guys,
Apologies for breaking your builds. I have made some modifications to the
problem code which now compiles and runs successfully on Windows, Linux (RH
AS 3.0) and AIX.
Adrian
___
Adrian Dick ([EMAIL PROTECTED])
Samisa Abeysinghe <[EMAIL PROTECTED
An *ugly* hack.
Till this is fixed, I used smaller arbitrary values in those locations
of code where the error is given. Works for now. But hope that Adrian
is looking into this and would fix soon.
Thanks,
Samisa...
On Tue, 25 Jan 2005 15:03:56 +0600, Nithyakala Thangaraja
<[EMAIL PROTECTED]> wr
Hi,
Current cvs checkout does not build on linux , due to following errors
xsd/Long.cpp:12: warning: this decimal constant is unsigned only in ISO C90
xsd/Long.cpp:12: error: integer constant is too large for "long" type
xsd/Long.cpp:17:52: warning: integer constant is so large that it is
Adrian,
Windows too seem to suppport some of these limit constants in LIMITS.H.
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/_pluslang_c.2b2b_.integer_limits.asp
However, LONG_LONG_INT is missing here.
May be these constants too are not that portable :-(
Than
Samisa,
Ah, yes! This is because we need to use an unsigned long long, for this
datatype (is there such a thing?) . Obviously VC++ guessed this, so I
didn't notice the problem before I committed it yesterday.
I shall get on to this immediately.
Adrian
Hi Adrian,
I get the following error when I try to build the latest CVS on my system:
src/soap/xsd/UnsignedLong.cpp:47: error: integer
[cc]constant is too large for "long" type
Looking into the source I see the line
return new MaxInclusive((LONGLONG) 18446744073709551615);
I was w
Further to the platform specific nature of the max/min values
printf ("%lld\n", LONG_LONG_MIN);
printf ("%lld\n", LONG_LONG_MAX);
yeilds
-9223372036854775808
9223372036854775807
The value in the code (18446744073709551615) is double the max value
that my machine can handle.
I think rahter tha