TclMagick compile errors

[email protected] (David N. Welton)
Newsgroups gmane.comp.video.graphicsmagick.core
Message-ID <[email protected]>
Ok, with ample help from Bob, I started to beat the unix configure
scripts into place, so that the compile is starting to be usable.

However, there are some problems...  can you tell me offhand what
categories the various warnings/errors fall under?

1) "It works for me with IM"

2) "I don't know, have a look yourself"

3) "I know about it but haven't gotten to it yet".

4) other...

gcc -pipe -DPACKAGE_NAME=\"TclMagick\" -DPACKAGE_TARNAME=\"tclmagick\"
-DPACKAGE_VERSION=\"0.2\" -DPACKAGE_STRING=\"TclMagick\ 0.2\"
-DPACKAGE_BUGREPORT=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1
-DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1
-DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D_LARGEFILE64_SOURCE=1
-DTCL_WIDE_INT_TYPE=long\ long -DHAVE_STRUCT_STAT64=1
-DHAVE_TYPE_OFF64_T=1 -DWORDS_BIGENDIAN=1 -DHAVE_UNISTD_H=1
-DHAVE_SYS_PARAM_H=1 -DUSE_THREAD_ALLOC=1 -D_REENTRANT=1
-D_THREAD_SAFE=1 -DHAVE_PTHREAD_ATTR_SETSTACKSIZE=1 -DHAVE_READDIR_R=1
-DTCL_THREADS=1 -DUSE_TCL_STUBS=1
-I"/usr/include/tcl8.4/tcl-private/generic"
-I/home/davidw/install/include/GraphicsMagick  -O -Wall -Wconversion
-Wno-implicit-int -fPIC -c `echo ./../generic/TclMagick.c` -o
TclMagick.o

There are tons of these mixed in, but I cut them out for clarity's
sake: ../generic/TclMagick.c:448: warning: passing arg 2 of
`MagickSetResourceLimit' a s unsigned due to prototype


../generic/TclMagick.c: In function `magickCmd':
../generic/TclMagick.c:456: warning: implicit declaration of function `MagickGetResourceLimit'
../generic/TclMagick.c: In function `wandObjCmd':
../generic/TclMagick.c:2665: warning: implicit declaration of function `MagickGetImage'
../generic/TclMagick.c:2665: warning: assignment makes pointer from integer without a cast
../generic/TclMagick.c:3102: warning: implicit declaration of function `MagickRemoveImageProfile'
../generic/TclMagick.c:3102: warning: assignment makes pointer from integer without a cast
../generic/TclMagick.c:3137: warning: implicit declaration of function `MagickSetImageProfile'
../generic/TclMagick.c:3288: warning: implicit declaration of function `MagickGetImageResolution'
../generic/TclMagick.c:3884: warning: passing arg 2 of `MagickMatteFloodfillImage' with different width due to prototype
../generic/TclMagick.c:4226: warning: implicit declaration of function `MagickPreviewImages'
../generic/TclMagick.c:4226: warning: assignment makes pointer from integer without a cast
../generic/TclMagick.c:4617: error: too many arguments to function `MagickSetImageOption'
../generic/TclMagick.c:4985: warning: passing arg 3 of `MagickTransparentImage' with different width due to prototype
../generic/TclMagick.c:5131: warning: enumeration value `TM_END_OF_TABLE' not handled in switch
../generic/TclMagick.c: In function `pixelObjCmd':
../generic/TclMagick.c:5239: warning: implicit declaration of function `PixelSetBlackQuantum'
../generic/TclMagick.c:5240: warning: passing arg 2 of `PixelSetBlueQuantum' with different width due to prototype
../generic/TclMagick.c:5241: warning: implicit declaration of function `PixelSetCyanQuantum'
../generic/TclMagick.c:5242: warning: passing arg 2 of `PixelSetGreenQuantum' with different width due to prototype
../generic/TclMagick.c:5243: warning: implicit declaration of function `PixelSetMagentaQuantum'
../generic/TclMagick.c:5244: warning: passing arg 2 of `PixelSetOpacityQuantum' with different width due to prototype
../generic/TclMagick.c:5245: warning: passing arg 2 of `PixelSetRedQuantum' with different width due to prototype
../generic/TclMagick.c:5246: warning: implicit declaration of function `PixelSetYellowQuantum'

... [more - clipped] ...

../generic/TclMagick.c:5310: warning: implicit declaration of function `PixelGetYellow'
../generic/TclMagick.c:5395: warning: passing arg 2 of `PixelSetBlueQuantum' with different width due to prototype
../generic/TclMagick.c:5443: warning: passing arg 2 of `PixelSetGreenQuantum' with different width due to prototype
../generic/TclMagick.c:5491: warning: passing arg 2 of `PixelSetOpacityQuantum' with different width due to prototype
../generic/TclMagick.c:5515: warning: passing arg 2 of `PixelSetRedQuantum' with different width due to prototype
../generic/TclMagick.c:5771: warning: enumeration value `TM_END_OF_TABLE' not handled in switch
../generic/TclMagick.c: In function `drawObjCmd':
../generic/TclMagick.c:6079: warning: enumeration value `TM_AFFINE' not handled in switch

... [lots of these] ...

../generic/TclMagick.c:7814: warning: enumeration value `TM_END_OF_TABLE' not handled in switch
../generic/TclMagick.c: At top level:
../generic/TclMagick.c:216: warning: `newDrawingObj' defined but not used
make: *** [TclMagick.o] Error 1

Thanks,
-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.