[postgis-tickets] [PostGIS] #4317: 'fcinfo' undeclared (first use in this function);

PostGIS trac at osgeo.org
Mon Feb 4 08:07:03 PST 2019


#4317: 'fcinfo' undeclared (first use in this function);
-------------------------+---------------------------
 Reporter:  robe         |      Owner:  pramsey
     Type:  defect       |     Status:  new
 Priority:  blocker      |  Milestone:  PostGIS 3.0.0
Component:  postgis      |    Version:  trunk
 Keywords:  postgres 12  |
-------------------------+---------------------------
 {{{
 lwgeom_accum.c: In function 'PGISDirectFunctionCall1':
 lwgeom_accum.c:381:2: warning: implicit declaration of function
 'LOCAL_FCINFO'; did you mean 'LOCALE_ILZERO'? [-Wimplicit-function-
 declaration]
   LOCAL_FCINFO(fcinfo, 1);
   ^~~~~~~~~~~~
   LOCALE_ILZERO
 lwgeom_accum.c:381:15: error: 'fcinfo' undeclared (first use in this
 function); did you mean 'fminf'?
   LOCAL_FCINFO(fcinfo, 1);
                ^~~~~~
                fminf
 lwgeom_accum.c:381:15: note: each undeclared identifier is reported only
 once for each function it appears in
 lwgeom_accum.c:382:2: warning: ISO C90 forbids mixed declarations and code
 [-Wdeclaration-after-statement]
   Datum result;
   ^~~~~
 lwgeom_accum.c: In function 'PGISDirectFunctionCall2':
 lwgeom_accum.c:425:15: error: 'fcinfo' undeclared (first use in this
 function); did you mean 'fminf'?
   LOCAL_FCINFO(fcinfo, 2);
                ^~~~~~
                fminf
 lwgeom_accum.c:426:2: warning: ISO C90 forbids mixed declarations and code
 [-Wdeclaration-after-statement]
   Datum result;
   ^~~~~
 make[1]: *** [<builtin>: lwgeom_accum.o] Error 1
 make[1]: Leaving directory '/projects/postgis/branches/3.0/postgis'
 make: *** [GNUmakefile:20: all] Error 1

 }}}

 I am not sure why I am getting this error compiling against pg12 head.
 debbie seems fine and she compiles against pg12 head too so must be
 something specific about my setup.

 I'll double-check to make sure my compile against 11 still works

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4317>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-tickets mailing list