From: Andy Moreton <andrewjmoreton@gmail.com>
To: emacs-devel@gnu.org
Subject: Warnings building master
Date: Wed, 14 Jul 2021 00:39:56 +0100 [thread overview]
Message-ID: <86pmvlrdf7.fsf@gmail.com> (raw)
Building emacs master on Windows (msys2 64bit with gcc 10.3.0) now
generates the following warnings:
CC image.o
C:/emacs/git/emacs/master/src/image.c:7788:1: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
7788 | DEF_DLL_FN (int, TIFFReadRGBAImage, (TIFF *, uint32, uint32, uint32 *, int));
| ^~~~~~~~~~
C:/emacs/git/emacs/master/src/image.c:7788:1: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
C:/emacs/git/emacs/master/src/image.c:7788:1: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
C:/emacs/git/emacs/master/src/image.c: In function 'tiff_load':
C:/emacs/git/emacs/master/src/image.c:7980:3: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
7980 | uint32 *buf;
| ^~~~~~
C:/emacs/git/emacs/master/src/image.c:8106:7: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
8106 | uint32 *row = buf + y * width;
| ^~~~~~
C:/emacs/git/emacs/master/src/image.c:8110:4: warning: 'uint32' is deprecated [-Wdeprecated-declarations]
8110 | uint32 abgr = row[x];
| ^~~~~~
It appears that this code needs to be updated to use C99 integer types.
AndyM
next reply other threads:[~2021-07-13 23:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-13 23:39 Andy Moreton [this message]
2021-07-14 4:14 ` Warnings building master Eli Zaretskii
2021-07-14 9:12 ` Kévin Le Gouguec
2021-07-14 12:29 ` Eli Zaretskii
2021-07-14 14:36 ` Kévin Le Gouguec
2021-07-14 15:44 ` Eli Zaretskii
2021-07-14 19:38 ` Andy Moreton
2021-07-14 20:15 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=86pmvlrdf7.fsf@gmail.com \
--to=andrewjmoreton@gmail.com \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).