Commit Graph

21 Commits

Author SHA1 Message Date
Bob Friesenhahn
f18e1a2db5 Fix Cmake HAVE_GETOPT for systems which declare getopt in stdio.h.
Fix utility baked-in getopt prototype which appears when HAVE_GETOPT is not defined.
2019-11-03 11:21:26 -06:00
Nathan Baker
e9fa4baf1d Fix all compiler warnings for default build 2018-02-04 23:54:17 +00:00
Even Rouault
f0a54a4fa0 Remove all $Id and $Headers comments with CVS versions 2017-11-30 18:02:46 +01:00
Bob Friesenhahn
d21d2b3057 * libtiff/tif_config.vc.h: Make adjustments to match the new
definitions that configure produces, including for WIN64.  Still
needs to be tested.

'lld' is not assured by the run-time DLLs and so GCC warns.
Add TIFF_SIZE_T and TIFF_SIZE_FORMAT to provide a type definition
and printf format specifier to deal with printing values of
'size_t' type.  In particular, this was necessary for WIN64.
Added a configure test for if the system headers provide 'optarg'
(normal case) and block out the many explicit 'extern' statements
in the utilities.  This was found to be necessary under Windows
when getopt is in a DLL and the symbols are already imported with
dllimport via standard header files.
2015-06-21 01:09:09 +00:00
Even Rouault
1246f97138 * tools/thumbnail.c, tools/tiffcmp.c: only read/write TIFFTAG_GROUP3OPTIONS
or TIFFTAG_GROUP4OPTIONS if compression is COMPRESSION_CCITTFAX3 or
COMPRESSION_CCITTFAX4
http://bugzilla.maptools.org/show_bug.cgi?id=2493 (CVE-2014-8128)
2014-12-21 18:52:42 +00:00
Bob Friesenhahn
4e0d97f83c * libtiff/tif_aux.c (_TIFFCheckRealloc): Improve error message so
that it is clearly a memory allocation error message, and also
includes the size of the allocation request.
2010-03-10 18:56:48 +00:00
Frank Warmerdam
3db9feb595 introduce libport.h prototypes to reduce warnings 2009-01-22 20:53:07 +00:00
Frank Warmerdam
41feaacb78 Fix 64-bit warnings when compiling under MSVC 2005 (x64). 2008-01-01 15:49:00 +00:00
Andrey Kiselev
5a80b5f42e Fixed floating point comparison logic as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=1191
2006-06-08 11:52:27 +00:00
Bob Friesenhahn
0bb0df6024 * tools/tiffcmp.c (CheckLongTag): Eliminate warning due to printf
format.
* tools/bmp2tiff.c: Reduce compilation warnings on big-endian CPUs.
2005-12-29 00:15:56 +00:00
Andrey Kiselev
9ece518261 Avoid warnings. 2005-09-13 14:09:10 +00:00
Andrey Kiselev
9a8e13c032 Avoid warnings. 2005-06-23 11:27:35 +00:00
Andrey Kiselev
26134656a4 Added ability to compare the 32-bit integer and floating point data; complain
on unsupported bit depths.
2005-03-09 12:08:30 +00:00
Andrey Kiselev
960dc2cc3d Use properly sized buffer in short arrays compirison as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=785
2005-03-04 10:25:24 +00:00
Bob Friesenhahn
f9335b105d * tools/tiffcmp.c (leof): Renamed from 'eof' in order to avoid
conflict noticed under MinGW.
* ltmain.sh: Fix for MinGW compilation.
2004-10-14 04:53:56 +00:00
Andrey Kiselev
b7d0571dc7 Avoid warnings. 2004-09-03 07:55:34 +00:00
Andrey Kiselev
73e787830f Avoid warnings. 2004-06-04 14:16:14 +00:00
Andrey Kiselev
adc20ad9b0 Fixed problem with unused data comparing as per bug
http://bugzilla.remotesensing.org/show_bug.cgi?id=349
`-z' option now can be used to set the number of reported different bytes.
2003-06-18 09:57:55 +00:00
Frank Warmerdam
de3497b2b4 Fixed multi samples per pixel support for ContigCompare.
See http://bugzilla.remotesensing.org/show_bug.cgi?id=53
2001-06-29 02:48:00 +00:00
Frank Warmerdam
c41985f6b1 Fixed stopondiff testing so that -l works.
Patch from: Joseph Orost <joe@sanskrit.lz.att.com>
2000-02-16 02:53:49 +00:00
Mike Welles
0ef31e1f62 Initial revision 1999-07-27 21:50:26 +00:00