Compiling gdk-pixbuf 2.36.11 on CentOS 7.4 fails
Submitted by Dan Stromberg
Link to original bug (#788739)
Description
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.
Edited by Emmanuele Bassi