[jbig2-dev] jbig2dec patches to compile with MSVC
giles@ghostscript.com
giles@ghostscript.com
Mon, 8 Jul 2002 08:00:47 -0700
On Thu, Jul 04, 2002 at 10:06:03PM +1000, Russell Lang wrote:
> These changes are pretty minimal.
> msvc.txt is the patch.
> msvcwarn.txt are the compiler warnings.
Thanks for the build patches. I've just committed a modified version,
hopefully a little more general and useful as a framework for other
non-autotools builds. Please let me know how it works.
> MSVC is very picky about signed/unsigned comparisons,
> unused variables, unused formal parameters, possibly
> uninitialised variables, and automatic type conversions
> that reduce precision.
Your warning list was quite helpful and did indeed catch some buglets.
I've gone through and fixed a number (but not all) of them, and of course
the code has evolved some since. I'd be interested in another iteration
on that, as well as occasional ones in the future.
Thanks again for trying the build,
-r