[Gdal-dev] why have warning message when building GDAL-1.2.0 on
windows ?
=?gb2312?q?Denzel?=
denzel1812 at yahoo.com.cn
Sat Jul 24 06:03:21 EDT 2004
Hi
I compile gdal-1.2.0 on windows2000,it seems some
warning message?!
My Server: Windows2000 advance Server (with sp4)
Visual Studio 6 (with sp5).And I have compile
zlib-1.2.1 in the directory c:\projects\zlib
my gdal compile step:
(1)download gdal-1.2.0.tar.gz
(2)unzip it to c:\projects\gdal
(3)edit nmake.opt(you can see it below ,while I paste
the content of nmake.opt)
Edit c:\projects\gdal\nmake.opt at
Line 6:
GDAL_HOME = "C:\projects\gdal"
Line 33:
VCDIR = c:\Program Files\Microsoft Visual
Studio\VC98
(3)run command:vcvars32.bat
(4)run command:nmake /f makefile.vc >gdal-1.2.0.log
(you can see below,I paste the content of nmake.opt)
Why I get these warning message? Thanks!!
Here is some log file gdal-1.2.0.log I get it when
compile the gdal-1.2.0
----------------------------------------------
avc_e00read.c
avc_e00read.c(635) : warning C4047: '==' : 'int '
differs in levels of indirection from 'void *'
tif_overview.c
tif_overview.c(155) : warning C4761: integral size
mismatch in argument; conversion supplied
tif_fax3sm.c
cl /nologo /Ox /MD -I..\..\..\port -I..\..\..\ogr
-I..\..\..\gcore -I..\..\zlib -DZIP_SUPPORT
-I..\..\jpeg\libjpeg -DJPEG_SUPPORT /c tif_getimage.c
tif_getimage.c
tif_getimage.c(2036) : warning C4550: expression
evaluates to a function which is missing an argument
list
tif_getimage.c(2037) : warning C4550: expression
evaluates to a function which is missing an argument
list
tif_getimage.c(2038) : warning C4550: expression
evaluates to a function which is missing an argument
list
tif_getimage.c(2039) : warning C4550: expression
evaluates to a function which is missing an argument
list
tif_getimage.c(2040) : warning C4550: expression
evaluates to a function which is missing an argument
list
tif_getimage.c(2041) : warning C4550: expression
evaluates to a function which is missing an argument
list
tif_getimage.c(2077) : warning C4550: expression
evaluates to a function which is missing an argument
list
..\..\jpeg\libjpeg\jmorecfg.h(162) : warning C4142:
benign redefinition of type
cl /nologo /Ox /MD -I..\..\..\port -I..\..\..\ogr
-I..\..\..\gcore -I..\..\zlib -DZIP_SUPPORT
-I..\..\jpeg\libjpeg -DJPEG_SUPPORT /c tif_flush.c
tif_version.c
cl /nologo /Ox /MD -I..\..\..\port -I..\..\..\ogr
-I..\..\..\gcore -I..\..\zlib -DZIP_SUPPORT
-I..\..\jpeg\libjpeg -DJPEG_SUPPORT /c tif_warning.c
tif_warning.c
gdal_translate.cpp
gdal_translate.cpp(778) : warning C4508: 'main' :
function should return a value; 'void' return type
assumed
Creating library gdal_translate.lib and object
gdal_translate.exp
Creating library gdal_translate.lib and object
gdal_translate.exp
cl /nologo /Ox /MD -I..\port -I..\ogr -I..\gcore
-I..\frmts -I..\alg gdalinfo.c ..\gdal_i.lib /link
gdalinfo.c
cl /nologo /Ox /MD -I..\port -I..\ogr -I..\gcore
-I..\frmts -I..\alg gdaladdo.cpp ..\gdal_i.lib /link
gdaladdo.cpp
gdaladdo.cpp(133) : warning C4508: 'main' : function
should return a value; 'void' return type assumed
Creating library gdaladdo.lib and object
gdaladdo.exp
cl /nologo /Ox /MD -I..\port -I..\ogr -I..\gcore
-I..\frmts -I..\alg gdalwarp.cpp ..\gdal_i.lib /link
gdalwarp.cpp
gdalwarp.cpp(521) : warning C4508: 'main' : function
should return a value; 'void' return type assumed
_________________________________________________________
Do You Yahoo!?
150ÍòÇúMP3·è¿ñËÑ£¬Äú´³ÈëÒôÀÖµîÌÃ
http://music.yisou.com/
ÃÀÅ®Ã÷ÐÇÓ¦Óо¡ÓУ¬ËѱéÃÀͼ¡¢ÑÞͼºÍ¿áͼ
http://image.yisou.com
100Õ×ÓÊÏä¹»²»¹»Óã¿ÑÅ»¢µçÓÊ×ÔÖúÀ©ÈÝ£¡
http://cn.rd.yahoo.com/mail_cn/tag/100m/*http://cn.promo.yahoo.com/minisite/100m/
More information about the Gdal-dev
mailing list