New muPDF compiler warnings - 2017-10-13-06:00:07 - 0e03d243af21da13af66af6c688300ff7d72ade6

[email protected]
Newsgroups gmane.comp.printing.ghostscript.regression
Message-ID <20171013135001.CCD9F20401C2@i7>
Previous Revision: 1246b9c7fa031c3db8f0bfaeb7be367636d7cdec
 Current Revision: 0e03d243af21da13af66af6c688300ff7d72ade6

commit 0e03d243af21da13af66af6c688300ff7d72ade6
Author:     Tor Andersson <[email protected]>
AuthorDate: Wed Oct 11 14:02:57 2017 +0200
CommitDate: Thu Oct 12 15:18:06 2017 +0200

    Make image loading use const data pointers.

include/mupdf/fitz/image.h
source/fitz/load-bmp.c
source/fitz/load-gif.c
source/fitz/load-jpeg.c
source/fitz/load-jpx.c
source/fitz/load-jxr.c
source/fitz/load-png.c
source/fitz/load-pnm.c
source/fitz/load-tiff.c



muPDF:

new gcc warnings (gcc (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609): 

source/fitz/load-tiff.c:318:32: warning: passing argument 2 of 'fz_open_memory' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]
source/fitz/load-tiff.c:359:38: warning: passing argument 2 of 'fz_open_memory' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers]

http://miles.ghostscript.com:8080/artifex/mupdf/0e03d243af21da13af66af6c688300ff7d72ade6/mupdf-gcc-warnings.txt



new clang warnings (clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)): 

include/mupdf/fitz/stream.h:71:59: note: passing argument to parameter 'data' here
                                                          ^


http://miles.ghostscript.com:8080/artifex/mupdf/0e03d243af21da13af66af6c688300ff7d72ade6/mupdf-clang-warnings.txt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.