unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Warnings building master
@ 2021-07-13 23:39 Andy Moreton
  2021-07-14  4:14 ` Eli Zaretskii
  0 siblings, 1 reply; 8+ messages in thread
From: Andy Moreton @ 2021-07-13 23:39 UTC (permalink / raw)
  To: emacs-devel


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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-07-14 20:15 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-13 23:39 Warnings building master Andy Moreton
2021-07-14  4:14 ` 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

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).