make warnings on latest CVS
Kralidis,Tom [Burlington]
Tom.Kralidis at EC.GC.CA
Thu Apr 14 12:39:33 EDT 2005
Hi,
Using latest CVS, I encounter the following warnings when make'ing
MapServer. Just thought I'd put this out there:
$./configure --enable-debug
--with-freetype=/usr/local/bin/freetype-config --with-zlib=/usr/local/
--with-png=/usr/local/ --with-jpeg=/usr/local/ --with-xp
m=/usr/local/ --with-gd=/usr/local --with-pdf=/usr/local --with-eppl
--with-proj=/usr/local --with-ogr=/usr/local/bin/gdal-config
--with-gdal=/usr/local/b
in/gdal-config --without-tiff
--with-postgis=/usr/local/pgsql/bin/pg_config --with-wfs --with-wcs
--with-wmsclient --with-wfsclient --with-curl-config=/us
r/local/bin/curl-config
$ make
(only warnings outputted below)
1: mapgml.c
gcc -c -g -O2 -fPIC -Wall -DENABLE_STDERR_DEBUG -DIGNORE_MISSING_DATA
-DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -D
USE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DUSE_PDF
-DUSE_OGR -DUSE_GDAL -DUSE_ICONV -DUSE_POSTGIS
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/loc
al/pgsql/include -I/usr/local/include mapgml.c -o mapgml.o
mapgml.c: In function `gmlWriteBounds_GML2':
mapgml.c:101: warning: too many arguments for format
2: mapdraw.c
gcc -c -g -O2 -fPIC -Wall -DENABLE_STDERR_DEBUG -DIGNORE_MISSING_DATA
-DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -D
USE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DUSE_PDF
-DUSE_OGR -DUSE_GDAL -DUSE_ICONV -DUSE_POSTGIS
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/loc
al/pgsql/include -I/usr/local/include mapdraw.c -o mapdraw.o
mapdraw.c: In function `msDrawMap':
mapdraw.c:443: warning: implicit declaration of function
`msDrawWMSLayerPDF'
3: mapdf.c
gcc -c -g -O2 -fPIC -Wall -DENABLE_STDERR_DEBUG -DIGNORE_MISSING_DATA
-DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -D
USE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DUSE_PDF
-DUSE_OGR -DUSE_GDAL -DUSE_ICONV -DUSE_POSTGIS
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/loc
al/pgsql/include -I/usr/local/include mappdf.c -o mappdf.o
mappdf.c: In function `msDrawTextPDF':
mappdf.c:1349: warning: assignment makes integer from pointer without a
cast
4: maptime.c
gcc -c -g -O2 -fPIC -Wall -DENABLE_STDERR_DEBUG -DIGNORE_MISSING_DATA
-DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR
-DUSE_WFS_SVR -D
USE_WFS_LYR -DUSE_WCS_SVR -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DGD_HAS_GETBITMAPFONTS
-DUSE_PDF
-DUSE_OGR -DUSE_GDAL -DUSE_ICONV -DUSE_POSTGIS
-I/usr/local/include -I/usr/local/include -I/usr/local/include
-I/usr/local/include -I/usr/loc
al/pgsql/include -I/usr/local/include maptime.c -o maptime.o
maptime.c: In function `msStrptime':
maptime.c:160: warning: implicit declaration of function `strptime'
maptime.c:160: warning: return makes pointer from integer without a cast
More information about the mapserver-dev
mailing list