Opened 9 years ago

Closed 5 years ago

#3252 closed defect (fixed)

cunit gdal warning messages

Reported by: robe Owned by: Bborie Park
Priority: low Milestone: PostGIS 2.4.6
Component: raster Version: master
Keywords: Cc:

Description

/geos/rel-3.5.0w64gcc48/include -I/projects/postgresql/rel/pg9.3w64gcc48/include -I/projects/rel-libiconv-1.13.1w64gcc48/include -I.. -c -o cu_gdal.o cu_gdal.c
cu_gdal.c: In function 'test_gdal_rasterize':
cu_gdal.c:70:3: warning: unknown conversion type character 'h' in format [-Wformat=]
   sscanf(pos, "%2hhx", &wkb[i]);
   ^
cu_gdal.c:70:3: warning: too many arguments for format [-Wformat-extra-args]
x86_64-w64-mingw32-gcc -g -O2  -Wall -Wmissing-prototypes  -I../../rt_core  -I../../../liblwgeom  -I/projects/proj/rel-4.9.1w64gcc48/include  -I/projects/gdal/rel-2.0w64gcc48/include  -I/projects/geos/rel-3.5.0w64gcc48/include -I/projects/postgresql/rel/pg9.3w64gcc48/include -I/projects/rel-libiconv-1.13.1w64gcc48/include -I.. -c -o cu_spatial_relationship.o cu_spatial_relationship.c
x86_64-w64-mingw32-gcc -g -O2  -Wall -Wmissing-prototypes  -I../../rt_core  -I../../../liblwgeom  -I/projects/proj/rel-4.9.1w64gcc48/include  -I/projects/gdal/rel-2.0w64gcc48/include  -I/projects/geos/rel-3.5.0w64gcc48/include -I/projects/postgresql/rel/pg9.3w64gcc48/include -I/projects/rel-libiconv-1.13.1w64gcc48/include -I.. -c -o cu_mapalgebra.o cu_mapalgebra.c
x86_64-w64-mingw32-gcc -g -O2  -Wall -Wmissing-prototypes  -I../../rt_core  -I../../../liblwgeom  -I/projects/proj/rel-4.9.1w64gcc48/include  -I/projects/gdal/rel-2.0w64gcc48/include  -I/projects/geos/rel-3.5.0w64gcc48/include -I/projects/postgresql/rel/pg9.3w64gcc48/include -I/projects/rel-libiconv-1.13.1w64gcc48/include -I.. -c -o cu_misc.o cu_misc.c

Seeing this on winnie.

Change History (7)

comment:1 by robe, 9 years ago

Component: postgisraster
Owner: changed from pramsey to Bborie Park

comment:2 by robe, 9 years ago

Milestone: PostGIS 2.2.0PostGIS 2.3.0

Still see it on winnie, but too dangerous to fix for 2.2

comment:3 by robe, 8 years ago

Milestone: PostGIS 2.3.0PostGIS 2.4.0
Priority: mediumlow

still present

comment:4 by robe, 7 years ago

Milestone: PostGIS 2.4.0PostGIS 2.5.0

comment:5 by robe, 6 years ago

Milestone: PostGIS 2.5.0PostGIS 2.4.5

comment:6 by pramsey, 6 years ago

Milestone: PostGIS 2.4.5PostGIS 2.4.6

comment:7 by Raul Marin, 5 years ago

Resolution: fixed
Status: newclosed

In 17510:

Raster cunit: Address scanf warning on Windows

Closes #3252

Note: See TracTickets for help on using tickets.