Martin Jambor changed bug 1223892
What Removed Added
Flags needinfo?(mjambor@suse.com)  

Comment # 9 on bug 1223892 from Martin Jambor
Unfortunately, when I check out the current factory version (r142,
last gimp.changes update has date "Mon May 6 07:20:05 UTC 2024"), and
try to build it with the same alternative, project, it fails with me
with a C99 viloations.  The forst one is:

[  142s] file-tiff-load.c:1372:56: error: passing argument 2 of
‘gimp_image_get_resolution’ from incompatible pointer type
[-Wincompatible-pointer-types]
[  142s]  1372 |                     gimp_image_get_resolution (*image, &xres,
&yres);
[  142s]       |                                                        ^~~~~
[  142s]       |                                                        |
[  142s]       |                                                        gfloat
* {aka float *}
[  142s] In file included from ../../libgimp/gimp_pdb_headers.h:55,
[  142s]                  from ../../libgimp/gimp.h:66,
[  142s]                  from file-tiff-load.c:52:
[  142s] ../../libgimp/gimpimage_pdb.h:179:86: note: expected ‘gdouble *’ {aka
‘double *’} but argument is of type ‘gfloat *’ {aka ‘float *’}
[  142s]   179 |                                                               
 gdouble             *xresolution,
[  142s]       |                                                               
 ~~~~~~~~~~~~~~~~~


You are receiving this mail because: