On Sun, 08 Jan 2006, Jens Peters wrote:
> Please apply this patch and I would also ask to backport it to the 1.3.x
> line, because otherwise compiling JavaHL with VS2005 results in a casting
> error. The reasons therefore are (according to _the_ Stefan Kueng, thanks
> again for the really good explanation):
Thanks, Jens. I've committed a patch based on this one (const, extra
space after cast type) to trunk in r18032, and nominated that change
for backport to 1.3.1.
> "The reason VS2005 can't cast that value is twofold:
> 1. the cast isn't necessary for *.c files, but JNIUtil is a cpp file. In
> C++ casts are more strict.
> 2. VS2005 now has 'treat wchar_t as Built-in Type' enabled by default, which
> was disabled in VS.NET2003."
> (I'm resending this patch with a better description, the original message
> was http://svn.haxx.se/dev/archive-2006-01/0042.shtml)
Received on Tue Jan 10 03:11:16 2006
- application/pgp-signature attachment: stored