[MacPorts] #60245: gdk-pixbuf2 @2.40.0: error: static declaration of 'round' follows non-static declaration

MacPorts noreply at macports.org
Thu Mar 26 16:08:22 UTC 2020


#60245: gdk-pixbuf2 @2.40.0: error: static declaration of 'round' follows non-
static declaration
------------------------+-------------------------
 Reporter:  ryandesign  |      Owner:  dbevans
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.2
 Keywords:              |       Port:  gdk-pixbuf2
------------------------+-------------------------
 [https://build.macports.org/builders/ports-10.6_i386-builder/builds/10185/steps
 /install-dependencies/logs/stdio/text gdk-pixbuf2 does not build] on 10.6:

 {{{
 In file included from ../gdk-pixbuf-2.40.0/gdk-pixbuf/pixops/pixops.c:24:
 ../gdk-pixbuf-2.40.0/gdk-pixbuf/pixops/../fallback-c89.c:25:1: error:
 static declaration of 'round' follows non-static declaration
 round (double x)
 ^
 /usr/include/architecture/i386/math.h:381:15: note: previous declaration
 is here
 extern double round ( double );
               ^
 In file included from ../gdk-pixbuf-2.40.0/gdk-pixbuf/pixops/pixops.c:24:
 ../gdk-pixbuf-2.40.0/gdk-pixbuf/pixops/../fallback-c89.c:37:1: error:
 static declaration of 'lrint' follows non-static declaration
 lrint (double x)
 ^
 /usr/include/architecture/i386/math.h:378:17: note: previous declaration
 is here
 extern long int lrint ( double );
                 ^
 2 errors generated.
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/60245>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list