Errors due to C99 fixed-width type usage without stdint.h
Compilation errors are observed on older macOS versions, apparently due to usage of C99 fixed-width types (e.g. uint64_t
) without doing #include <stdint.h>
. See https://trac.macports.org/ticket/61179.
../gnome-desktop-3.38.0/libgnome-desktop/gnome-rr.h:78:5: error: unknown type name 'uint64_t'
uint64_t matrix[9];
^
1 error generated.
Similar usage of uint32_t
appears in gnome-desktop-thumbnail.c, but no errors have been observed for it yet.
But rather than this being a case where #include <stdint.h>
is missing, I suspect it could be that usage of uint64_t
etc. should have instead been using GLib's conventional types (guint64
, etc.).