Martin Jambor changed bug 1223892
What Removed Added
Resolution FIXED ---
Status RESOLVED REOPENED

Comment # 7 on bug 1223892 from Martin Jambor
(In reply to Paolo Stivanin from comment #6)
> Tested on tumbleweed, all good:
> https://build.opensuse.org/request/show/1175538
> 
> compiles fine now with gcc14

Unfortunately, it does not:
https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:Gcc7/gimp/standard/x86_64

You can try locally with:
   osc build --clean --alternative-project home:rguenther:nextgcc standard

The failure stopping the build is:

[  178s] file-tiff-load.c: In function ‘load_image’:
[  178s] file-tiff-load.c:572:7: warning: ‘uint16’ is deprecated
[-Wdeprecated-declarations]
[  178s]   572 |       uint16            planar  = PLANARCONFIG_CONTIG;
[  178s]       |       ^~~~~~
[  178s] file-tiff-load.c:1239:9: warning: ‘uint32’ is deprecated
[-Wdeprecated-declarations]
[  178s]  1239 |         uint32        count       = 0;
[  178s]       |         ^~~~~~
[  178s] file-tiff-load.c:1372:56: error: passing argument 2 of
‘gimp_image_get_resolution’ from incompatible pointer type
[-Wincompatible-pointer-types]
[  178s]  1372 |                     gimp_image_get_resolution (*image, &xres,
&yres);
[  178s]       |                                                        ^~~~~
[  178s]       |                                                        |
[  178s]       |                                                        gfloat
* {aka float *}
[  178s] In file included from ../../libgimp/gimp_pdb_headers.h:55,
[  178s]                  from ../../libgimp/gimp.h:66,
[  178s]                  from file-tiff-load.c:52:
[  178s] ../../libgimp/gimpimage_pdb.h:179:86: note: expected ‘gdouble *’ {aka
‘double *’} but argument is of type ‘gfloat *’ {aka ‘float *’}
[  178s]   179 |                                                               
 gdouble             *xresolution,
[  178s]       |                                                               
 ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
[  178s] file-tiff-load.c:1372:63: error: passing argument 3 of
‘gimp_image_get_resolution’ from incompatible pointer type
[-Wincompatible-pointer-types]
[  178s]  1372 |                     gimp_image_get_resolution (*image, &xres,
&yres);
[  178s]       |                                                              
^~~~~
[  178s]       |                                                              
|
[  178s]       |                                                              
gfloat * {aka float *}
[  178s] ../../libgimp/gimpimage_pdb.h:180:86: note: expected ‘gdouble *’ {aka
‘double *’} but argument is of type ‘gfloat *’ {aka ‘float *’}
[  178s]   180 |                                                               
 gdouble             *yresolution);
[  178s]       |                                                               
 ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~


You are receiving this mail because: