struct is used for file i/o.
deprecated conversion from string constant to ‘char*’ Constify lots of "char *".
Excluding 3rd party files.
The unused WriteLossless() was using libjpeg internals found in jpegint.h. This header is available with libjpeg8, but not shipped by most distros. Disable the relevant code - no functional changes.