GNOME Bugzilla – Bug 740358
Postbuild checks complains about 64-bit portability
Last modified: 2014-11-27 16:09:47 UTC
While building gtk+ 3.15.1 for openSUSE in our buildsystem, I end up with an invaild" build (the build itself completes), since our postbuild checker complains about 64-bit portability - For someone that knows c code it might be obvious, but not for me :-) E: gtk3 64bit-portability-issue gtkprintbackendcups.c:2252,2253, 2305, 2309, 2311 The "above numbers" are where the checker finds the "offending" code Aka https://git.gnome.org/browse/gtk+/tree/modules/printbackends/cups/gtkprintbackendcups.c Lines 2252, 2253, 2305, 2309, 2311 I see there have been a couple of commits in this area. Also attaching buildlog, but I doubt it will be of any interest.
Created attachment 290983 [details] Buildlog Had to compress it as it was to big in plain txt format.
Those are places where we're using cups ipp API.
It seems that I forgot to test the code against a CUPS older than 1.6: gtkprintbackendcups.c:2252:11: warning: implicit declaration of function 'ippGetCollection' gtkprintbackendcups.c:2253:11: warning: implicit declaration of function 'ippFirstAttribute' gtkprintbackendcups.c:2253:11: warning: implicit declaration of function 'ippNextAttribute' I'll fix it in master.
I've fixed this in current master. Thank you for this report.