Opened 6 years ago

Closed 6 years ago

#4317 closed defect (invalid)

'fcinfo' undeclared (first use in this function);

Reported by: robe Owned by: pramsey
Priority: blocker Milestone: PostGIS 3.0.0
Component: postgis Version: master
Keywords: postgres 12 Cc:

Description

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

Change History (1)

comment:1 by robe, 6 years ago

Resolution: invalid
Status: newclosed

User error. Was compiling against my slice branch which has not been rebased with 12 head. I'll reopen if I still have issues after compiling against git head is done.

Note: See TracTickets for help on using tickets.