[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Warnings building master
From: |
Andy Moreton |
Subject: |
Warnings building master |
Date: |
Wed, 14 Jul 2021 00:39:56 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (windows-nt) |
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
- Warnings building master,
Andy Moreton <=
- Re: Warnings building master, Eli Zaretskii, 2021/07/14
- Re: Warnings building master, Kévin Le Gouguec, 2021/07/14
- Re: Warnings building master, Eli Zaretskii, 2021/07/14
- Re: Warnings building master, Kévin Le Gouguec, 2021/07/14
- Re: Warnings building master, Eli Zaretskii, 2021/07/14
- Re: Warnings building master, Andy Moreton, 2021/07/14
- Re: Warnings building master, Eli Zaretskii, 2021/07/14