pg.ddx.io  postgis-users@lists.osgeo.org mailing list archive (PostGIS users)  
help / color / mirror / Atom feed
From: Greg Troxel <gdt@lexort.com>
Subject: PostGIS 3.7.0rc3 release
Date: Wed, 21 Oct 2026 19:18:13 -0400
Message-ID: <rmicxt2iqx6.fsf@s1.lexort.com> (raw)
In-Reply-To: <001001dd611c$164ce6a0$42e6b3e0$@pcorp.us>
References: <001001dd611c$164ce6a0$42e6b3e0$@pcorp.us>

"Regina Obe" <lr at pcorp.us> writes:

> The PostGIS Team is pleased to release PostGIS 3.7.0rc3! Best Served with
> PostgreSQL 19 RC1 , GEOS 3.15.0 ,
> This version requires PostgreSQL 14 - 19rc1, GEOS 3.10 or higher, and Proj
> 6.1+. To take advantage of all features, GEOS 3.15+ is needed. To take
> advantage of all SFCGAL features SFCGAL 2.3.0+ is needed.

This builds and mostly passes tests on NetBSD 11 amd64.


The tests fail with what is obviously test environment assumptions
problems:

  RUNTESTFLAGS:  --topology --raster
  RUNTESTFLAGS_INTERNAL: --after-create-db-script ../raster/test/regress/hooks/hook-before-create-raster.sql --before-upgrade-script ../raster/test/regress/hooks/hook-before-upgrade-raster.sql --before-upgrade-script ../topology/test/regress/hooks/hook-before-upgrade-topology.sql --after-create-db-script ../regress/hooks/hook-after-create-db.sql --before-upgrade-script ../regress/hooks/hook-before-upgrade.sql --after-upgrade-script ../regress/hooks/hook-after-upgrade-check-sql-object-resolution.sql --after-upgrade-script ../regress/hooks/hook-after-upgrade.sql --after-create-script   ../regress/hooks/hook-after-create.sql --before-uninstall-script ../regress/hooks/hook-before-uninstall.sql --after-upgrade-script ../topology/test/regress/hooks/hook-after-upgrade-topology.sql --after-upgrade-script ../raster/test/regress/hooks/hook-after-upgrade-raster.sql
  psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: FATAL:  permission denied to set parameter "lc_messages"
  psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: FATAL:  permission denied to set parameter "lc_messages"
  psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: FATAL:  permission denied to set parameter "lc_messages"
  Creating database 'postgis_reg-3.7'.
  Running after-create-db-script ../raster/test/regress/hooks/hook-before-create-raster.sql
  Died at ../regress/run_test.pl line 1568.
   failed (Error encountered loading ../raster/test/regress/hooks/hook-before-create-raster.sql: /tmp/pgis_reg/regress_log.tmp)
  gmake: *** [../regress/runtest.mk:24: check-regress] Error 2


I do have my postgresql locked down more than many, but README.postgis
doesn't say what's needed.  (I'm not a superuser.)







There is a large amount of ctype UB.  I don't know if this is new, but I
think I would have noticed and said something.

Briefly, ctype functions take an int, and are defined only for values
that are valid for unsigned char or EOF.  Everything else is UB.
Calling them with a variable of type char, if char is signed, leads to
negative values.  I would expect at least some systems in CI to warn
somehow, but maybe they don't.



libtool: compile:  gcc -I../../liblwgeom/../deps/ryu/.. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG -I. -I../../liblwgeom -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c ../../liblwgeom/optionlist.c  -fPIC -DPIC -o .libs/optionlist.o
In file included from /usr/include/ctype.h:100,
                 from ../../liblwgeom/optionlist.c:28:
../../liblwgeom/optionlist.c: In function 'option_list_string_to_lower':
../../liblwgeom/optionlist.c:36:32: warning: array subscript has type 'char' [-Wchar-subscripts]
   36 |                 *key = tolower(*key);
      |                                ^
libtool: compile:  gcc -I../../liblwgeom/../deps/ryu/.. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG -I. -I../../liblwgeom -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c lwin_wkt_lex.c  -fPIC -DPIC -o .libs/lwin_wkt_lex.o
In file included from /usr/include/ctype.h:100,
                 from ../../liblwgeom/lwin_wkt_lex.l:5:
../../liblwgeom/lwin_wkt_lex.l: In function 'wkt_yylex':
../../liblwgeom/lwin_wkt_lex.l:108:31: warning: array subscript has type 'char' [-Wchar-subscripts]
  108 |         if (toupper(wkt_yytext[0]) == 'Z' && toupper(wkt_yytext[1]) == 'M')
      |                               ^
../../liblwgeom/lwin_wkt_lex.l:108:64: warning: array subscript has type 'char' [-Wchar-subscripts]
  108 |         if (toupper(wkt_yytext[0]) == 'Z' && toupper(wkt_yytext[1]) == 'M')
      |                                                                ^
../../liblwgeom/lwin_wkt_lex.l:110:36: warning: array subscript has type 'char' [-Wchar-subscripts]
  110 |         else if (toupper(wkt_yytext[0]) == 'Z')
      |                                    ^
libtool: compile:  gcc -I../../liblwgeom/../deps/ryu/.. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG -I. -I../../liblwgeom -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c ../../liblwgeom/lwin_wkt.c  -fPIC -DPIC -o .libs/lwin_wkt.o
In file included from /usr/include/ctype.h:100,
                 from ../../liblwgeom/lwin_wkt.c:27:
../../liblwgeom/lwin_wkt.c: In function 'wkt_dimensionality':
../../liblwgeom/lwin_wkt.c:91:50: warning: array subscript has type 'char' [-Wchar-subscripts]
   91 |                 else if( ! isspace(dimensionality[i]) ) break;
      |                                                  ^
libtool: compile:  gcc -I../../liblwgeom/../deps/ryu/.. -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG -I. -I../../liblwgeom -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2 -fPIC -DPIC -c ../../liblwgeom/lwalgorithm.c  -fPIC -DPIC -o .libs/lwalgorithm.o
In file included from /usr/include/ctype.h:100,
                 from ../../liblwgeom/lwalgorithm.c:28:
../../liblwgeom/lwalgorithm.c: In function 'decode_geohash_bbox':
../../liblwgeom/lwalgorithm.c:699:41: warning: array subscript has type 'char' [-Wchar-subscripts]
  699 |                 char c = tolower(geohash[i]);
      |                                         ^

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fno-semantic-interposition  -fPIC -DPIC -fPIC -DPIC -fvisibility=hidden -I../../liblwgeom -I../liblwgeom -I../../libpgcommon -I../../deps/flatgeobuf -I../../deps/wagyu -I../../deps/uthash/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG  -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include    -c -o lwgeom_box.o ../../postgis/lwgeom_box.c
In file included from /usr/include/ctype.h:100,
                 from /usr/pkg/include/postgresql/server/port.h:16,
                 from /usr/pkg/include/postgresql/server/c.h:1360,
                 from /usr/pkg/include/postgresql/server/postgres.h:48,
                 from ../../postgis/lwgeom_box.c:27:
../../postgis/lwgeom_box.c: In function ?BOX2D_in?:
../../postgis/lwgeom_box.c:68:31: warning: array subscript has type ?char? [-Wchar-subscripts]
   68 |           str[i] = tolower(str[i]);
      |                               ^

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fno-semantic-interposition  -fPIC -DPIC -fPIC -DPIC -fvisibility=hidden -I../../liblwgeom -I../liblwgeom -I../../libpgcommon -I../../deps/flatgeobuf -I../../deps/wagyu -I../../deps/uthash/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG  -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include    -c -o lwgeom_in_gml.o ../../postgis/lwgeom_in_gml.c
In file included from /usr/include/ctype.h:100,
                 from /usr/pkg/include/postgresql/server/port.h:16,
                 from /usr/pkg/include/postgresql/server/c.h:1360,
                 from /usr/pkg/include/postgresql/server/postgres.h:48,
                 from ../../postgis/lwgeom_in_gml.c:49:
../../postgis/lwgeom_in_gml.c: In function ?parse_gml_srs?:
../../postgis/lwgeom_in_gml.c:557:38: warning: array subscript has type ?char? [-Wchar-subscripts]
  557 |                         if (!isdigit(*p)) gml_lwpgerror("unknown spatial reference system", 5);
      |                                      ^
../../postgis/lwgeom_in_gml.c: In function ?parse_gml_double?:
../../postgis/lwgeom_in_gml.c:604:42: warning: array subscript has type ?char? [-Wchar-subscripts]
  604 |         if (space_before) while (isspace(*d)) d++;
      |                                          ^
../../postgis/lwgeom_in_gml.c:608:29: warning: array subscript has type ?char? [-Wchar-subscripts]
  608 |                 if (isdigit(*p))
      |                             ^
../../postgis/lwgeom_in_gml.c:632:34: warning: array subscript has type ?char? [-Wchar-subscripts]
  632 |                 else if (isspace(*p))
      |                                  ^
../../postgis/lwgeom_in_gml.c: In function ?parse_gml_coordinates?:
../../postgis/lwgeom_in_gml.c:712:24: warning: array subscript has type ?char? [-Wchar-subscripts]
  712 |         while (isspace(*p)) p++;                /* Eat extra whitespaces if any */
      |                        ^
../../postgis/lwgeom_in_gml.c:716:29: warning: array subscript has type ?char? [-Wchar-subscripts]
  716 |                 if (isdigit(*p)) digit = true;  /* One state parser */
      |                             ^
../../postgis/lwgeom_in_gml.c: In function ?parse_gml_pos?:
../../postgis/lwgeom_in_gml.c:852:20: warning: array subscript has type ?char? [-Wchar-subscripts]
  852 |     while (isspace(*pos)) pos++;        /* Eat extra whitespaces if any */
      |                    ^
../../postgis/lwgeom_in_gml.c:859:21: warning: array subscript has type ?char? [-Wchar-subscripts]
  859 |         if (isdigit(*pos)) digit = true;
      |                     ^
../../postgis/lwgeom_in_gml.c: In function ?parse_gml_poslist?:
../../postgis/lwgeom_in_gml.c:923:24: warning: array subscript has type ?char? [-Wchar-subscripts]
  923 |         while (isspace(*poslist)) poslist++;    /* Eat extra whitespaces if any */
      |                        ^
../../postgis/lwgeom_in_gml.c:926:29: warning: array subscript has type ?char? [-Wchar-subscripts]
  926 |                 if (isdigit(*poslist)) digit = true;
      |                             ^
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fno-semantic-interposition  -fPIC -DPIC -fPIC -DPIC -fvisibility=hidden -I../../liblwgeom -I../liblwgeom -I../../libpgcommon -I../../deps/flatgeobuf -I../../deps/wagyu -I../../deps/uthash/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG  -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include    -c -o lwgeom_in_kml.o ../../postgis/lwgeom_in_kml.c
In file included from /usr/include/ctype.h:100,
                 from /usr/pkg/include/postgresql/server/port.h:16,
                 from /usr/pkg/include/postgresql/server/c.h:1360,
                 from /usr/pkg/include/postgresql/server/postgres.h:48,
                 from ../../postgis/lwgeom_in_kml.c:40:
../../postgis/lwgeom_in_kml.c: In function ?parse_kml_coordinates?:
../../postgis/lwgeom_in_kml.c:332:24: warning: array subscript has type ?char? [-Wchar-subscripts]
  332 |   while (*p && isspace(*p)) ++p;
      |                        ^
../../postgis/lwgeom_in_kml.c:336:18: warning: array subscript has type ?char? [-Wchar-subscripts]
  336 |     if ( isdigit(*p) || *p == '+' || *p == '-' || *p == '.' ) {
      |                  ^
../../postgis/lwgeom_in_kml.c:353:30: warning: array subscript has type ?char? [-Wchar-subscripts]
  353 |         if ( *q && ! isspace(*q) && *q != ',' ) {
      |                              ^
../../postgis/lwgeom_in_kml.c:358:30: warning: array subscript has type ?char? [-Wchar-subscripts]
  358 |         while (*q && isspace(*q)) ++q;
      |                              ^
../../postgis/lwgeom_in_kml.c:359:22: warning: array subscript has type ?char? [-Wchar-subscripts]
  359 |         if ( isdigit(*q) || *q == '+' || *q == '-' || *q == '.' || ! *q ) {
      |                      ^
../../postgis/lwgeom_in_kml.c:371:40: warning: array subscript has type ?char? [-Wchar-subscripts]
  371 |     } else if ( *p != ',' && ! isspace(*p) ) {
      |                                        ^

gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fno-semantic-interposition  -fPIC -DPIC -fPIC -DPIC -fvisibility=hidden -I../../liblwgeom -I../liblwgeom -I../../libpgcommon -I../../deps/flatgeobuf -I../../deps/wagyu -I../../deps/uthash/include  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG  -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include    -c -o lwgeom_in_marc21.o ../../postgis/lwgeom_in_marc21.c
In file included from /usr/include/ctype.h:100,
                 from /usr/pkg/include/postgresql/server/port.h:16,
                 from /usr/pkg/include/postgresql/server/c.h:1360,
                 from /usr/pkg/include/postgresql/server/postgres.h:48,
                 from ../../postgis/lwgeom_in_marc21.c:21:
../../postgis/lwgeom_in_marc21.c: In function ?is_literal_valid?:
../../postgis/lwgeom_in_marc21.c:153:37: warning: array subscript has type ?char? [-Wchar-subscripts]
  153 |                 if (!isdigit(literal[j])) {
      |                                     ^


gmake[1]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/BUILD/topology'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fno-semantic-interposition  -fPIC -DPIC -fPIC -DPIC -fvisibility=hidden -I../liblwgeom -I../../liblwgeom -I../../libpgcommon  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG  -I. -I../../topology -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include    -c -o postgis_topology.o ../../topology/postgis_topology.c
In file included from /usr/include/ctype.h:100,
                 from /usr/pkg/include/postgresql/server/port.h:16,
                 from /usr/pkg/include/postgresql/server/c.h:1360,
                 from /usr/pkg/include/postgresql/server/postgres.h:48,
                 from ../../topology/postgis_topology.c:14:
../../topology/postgis_topology.c: In function ?_lwtype_upper_name?:
../../topology/postgis_topology.c:145:20: warning: array subscript has type ?char? [-Wchar-subscripts]
  145 |     *ptr = toupper(*ptr);
      |                    ^

gmake[3]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/BUILD/raster/rt_pg'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fno-semantic-interposition -fPIC -DPIC -fvisibility=hidden -I../../../liblwgeom -I../../liblwgeom -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG -I/usr/pkg/include -I../../../libpgcommon -I/usr/pkg/include -I../../../raster/rt_pg/../rt_core -I. -I./.. -I../.. -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include    -c -o rtpostgis.o ../../../raster/rt_pg/rtpostgis.c
In file included from /usr/include/ctype.h:100,
                 from /usr/pkg/include/postgresql/server/port.h:16,
                 from /usr/pkg/include/postgresql/server/c.h:1360,
                 from /usr/pkg/include/postgresql/server/postgres.h:48,
                 from ../../../raster/rt_pg/rtpostgis.c:132:
../../../raster/rt_pg/rtpostgis.c: In function ?rt_pg_vsi_load_options?:
../../../raster/rt_pg/rtpostgis.c:400:48: warning: array subscript has type ?char? [-Wchar-subscripts]
  400 |                                 *ptr = tolower(*ptr);
      |                                                ^
gmake[3]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/BUILD/raster/rt_pg'
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fno-semantic-interposition -fPIC -DPIC -fvisibility=hidden -I../../../liblwgeom -I../../liblwgeom -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG -I/usr/pkg/include -I../../../libpgcommon -I/usr/pkg/include -I../../../raster/rt_pg/../rt_core -I. -I./.. -I../.. -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include    -c -o rtpostgis.o ../../../raster/rt_pg/rtpostgis.c
In file included from /usr/include/ctype.h:100,
                 from /usr/pkg/include/postgresql/server/port.h:16,
                 from /usr/pkg/include/postgresql/server/c.h:1360,
                 from /usr/pkg/include/postgresql/server/postgres.h:48,
                 from ../../../raster/rt_pg/rtpostgis.c:132:
../../../raster/rt_pg/rtpostgis.c: In function ?rt_pg_vsi_load_options?:
../../../raster/rt_pg/rtpostgis.c:400:48: warning: array subscript has type ?char? [-Wchar-subscripts]
  400 |                                 *ptr = tolower(*ptr);
      |                                                ^
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -O2 -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fno-semantic-interposition -fPIC -DPIC -fvisibility=hidden -I../../../liblwgeom -I../../liblwgeom -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG -I/usr/pkg/include -I../../../libpgcommon -I/usr/pkg/include -I../../../raster/rt_pg/../rt_core -I. -I./.. -I../.. -I. -I./ -I/usr/pkg/include/postgresql/server -I/usr/pkg/include/postgresql/internal -I/usr/include -I/usr/pkg/include/libxml2 -I/usr/include/readline -I/usr/pkg/include  -I/usr/pkg/include/libxml2 -I/usr/pkg/include -I/usr/pkg/include    -c -o rtpg_internal.o ../../../raster/rt_pg/rtpg_internal.c
In file included from /usr/include/ctype.h:100,
                 from ../../../raster/rt_pg/rtpg_internal.c:29:
../../../raster/rt_pg/rtpg_internal.c: In function ?rtpg_strtoupper?:
../../../raster/rt_pg/rtpg_internal.c:103:37: warning: array subscript has type ?char? [-Wchar-subscripts]
  103 |                 str[j] = toupper(str[j]);
      |                                     ^
../../../raster/rt_pg/rtpg_internal.c: In function ?rtpg_trim?:
../../../raster/rt_pg/rtpg_internal.c:237:24: warning: array subscript has type ?char? [-Wchar-subscripts]
  237 |         while (isspace(*input) && *input != '\0')
      |                        ^
../../../raster/rt_pg/rtpg_internal.c:244:32: warning: array subscript has type ?char? [-Wchar-subscripts]
  244 |                 while (isspace(*--ptr))
      |                                ^

gmake[3]: Entering directory '/n0/gdt/SOFTWARE/GEO/POSTGIS/postgis/BUILD/raster/loader'
gcc  -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fPIC -DPIC -I../../../raster/loader/../rt_core -I./.. -I. -I../.. -I../../liblwgeom -I../../../liblwgeom -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include   -c ../../../raster/loader/raster2pgsql.c
In file included from /usr/include/ctype.h:100,
                 from /usr/pkg/include/cpl_port.h:107,
                 from /usr/pkg/include/gdal.h:29,
                 from ../../../raster/loader/../rt_core/librtcore.h:124,
                 from ../../../raster/loader/raster2pgsql.h:42,
                 from ../../../raster/loader/raster2pgsql.c:28:
../../../raster/loader/raster2pgsql.c: In function ?strtolower?:
../../../raster/loader/raster2pgsql.c:241:37: warning: array subscript has type ?char? [-Wchar-subscripts]
  241 |                 str[j] = tolower(str[j]);
      |                                     ^
../../../raster/loader/raster2pgsql.c: In function ?trim?:
../../../raster/loader/raster2pgsql.c:325:24: warning: array subscript has type ?char? [-Wchar-subscripts]
  325 |         while (isspace(*input))
      |                        ^
../../../raster/loader/raster2pgsql.c:330:24: warning: array subscript has type ?char? [-Wchar-subscripts]
  330 |         while (isspace(*--ptr))
      |                        ^

gcc  -I../../liblwgeom -I../liblwgeom  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG  -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fPIC -DPIC -I/usr/pkg/include   -c ../../loader/shp2pgsql-core.c
In file included from /usr/include/ctype.h:100,
                 from ../../loader/shp2pgsql-core.h:19,
                 from ../../loader/shp2pgsql-core.c:22:
../../loader/shp2pgsql-core.c: In function ?strtolower?:
../../loader/shp2pgsql-core.c:891:33: warning: array subscript has type ?char? [-Wchar-subscripts]
  891 |                 s[j] = tolower(s[j]);
      |                                 ^

gcc  -I../../liblwgeom -I../liblwgeom  -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include/libxml2 -I/usr/pkg/include  -I/usr/pkg/include -I/usr/pkg/include/json-c -DNDEBUG  -std=gnu11 -g -O2 -fno-math-errno -fno-signed-zeros -Wall -O2  -fPIC -DPIC -I/usr/pkg/include   -I/usr/pkg/include -c ../../loader/pgsql2shp-core.c
In file included from /usr/include/ctype.h:100,
                 from ../../loader/pgsql2shp-core.h:17,
                 from ../../loader/pgsql2shp-core.c:27:
../../loader/pgsql2shp-core.c: In function ?goodDBFValue?:
../../loader/pgsql2shp-core.c:753:36: warning: array subscript has type ?char? [-Wchar-subscripts]
  753 |                 buf[0] = toupper(in[0]);
      |                                    ^
../../loader/pgsql2shp-core.c: In function ?ShpDumperOpenTable?:
../../loader/pgsql2shp-core.c:1717:76: warning: array subscript has type ?char? [-Wchar-subscripts]
 1717 |                                 dbffieldname[nameit] = toupper(dbffieldname[nameit]);
      |                                                                            ^



view thread (4+ messages)  latest in thread

Message-ID: <rmicxt2iqx6.fsf@s1.lexort.com>
Permalink:  ../rmicxt2iqx6.fsf@s1.lexort.com/

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: postgis-users@lists.osgeo.org
  Cc: gdt@lexort.com
  Subject: Re: PostGIS 3.7.0rc3 release
  In-Reply-To: <rmicxt2iqx6.fsf@s1.lexort.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox