GNOME Bugzilla – Bug 788739
Compiling gdk-pixbuf 2.36.11 on CentOS 7.4 fails
Last modified: 2018-05-22 13:24:24 UTC
The compile-time error looks like: In file included from pixops.c:24:0: ../fallback-c89.c:25:1: error: static declaration of 'round' follows non-static declaration round (double x) ^ ../fallback-c89.c:37:1: error: static declaration of 'lrint' follows non-static declaration lrint (double x) ^ make[4]: *** [pixops.lo] Error 1 I'm using: $ gcc --version cmd output started 2017 Mon Oct 09 03:50:23 PM EDT gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-16) Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Please attach the full build log, include the configure steps. A Centos version should be more than new enough to use C99, and not rely on the C89 fallback.
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues/68.