Avoid warnings in tif_print.c by excluding it from build

This is a rather drastic solution, but warnings given when
cross-compiling this file with MinGW are annoying, really fixing them is
not completely trivial and risks conflicting with the upstream changes
later, and we don't need the TIFFPrintDirectory() function defined in
this file anyhow, so just exclude it from the build.

Closes https://github.com/wxWidgets/wxWidgets/pull/2587
This commit is contained in:
Vadim Zeitlin 2021-11-16 02:35:03 +01:00
parent a7803a752d
commit d156058d41
6 changed files with 7 additions and 20 deletions

View file

@ -198,7 +198,6 @@ WXTIFF_OBJECTS = \
$(OBJS)\wxtiff_tif_packbits.o \
$(OBJS)\wxtiff_tif_pixarlog.o \
$(OBJS)\wxtiff_tif_predict.o \
$(OBJS)\wxtiff_tif_print.o \
$(OBJS)\wxtiff_tif_read.o \
$(OBJS)\wxtiff_tif_strip.o \
$(OBJS)\wxtiff_tif_swab.o \
@ -6442,9 +6441,6 @@ $(OBJS)\wxtiff_tif_pixarlog.o: ../../src/tiff/libtiff/tif_pixarlog.c
$(OBJS)\wxtiff_tif_predict.o: ../../src/tiff/libtiff/tif_predict.c
$(CC) -c -o $@ $(WXTIFF_CFLAGS) $(CPPDEPS) $<
$(OBJS)\wxtiff_tif_print.o: ../../src/tiff/libtiff/tif_print.c
$(CC) -c -o $@ $(WXTIFF_CFLAGS) $(CPPDEPS) $<
$(OBJS)\wxtiff_tif_read.o: ../../src/tiff/libtiff/tif_read.c
$(CC) -c -o $@ $(WXTIFF_CFLAGS) $(CPPDEPS) $<