Bob Friesenhahn wrote:
With every compiler except for GCC, I am seeing many warnings when
compiling ltdl.c at the default warning level.  This is unfortunate
since ltdl.c is usually the only source file in my project which
produces any warning messages.

Here are a set of warnings from the AIX C compiler.

"/home/bfriesen/GraphicsMagick/ltdl/ltdl.c", line 3725.58: 1506-280 (E) Function argument 
assignment between types "vo
id*" and "int(*)(const char*,void*)" is not allowed.
"/home/bfriesen/GraphicsMagick/ltdl/ltdl.c", line 3731.58: 1506-280 (E) Function argument 
assignment between types "vo
id*" and "int(*)(const char*,void*)" is not allowed.
"/home/bfriesen/GraphicsMagick/ltdl/ltdl.c", line 3735.62: 1506-280 (E) Function argument 
assignment between types "vo
id*" and "int(*)(const char*,void*)" is not allowed.
"/home/bfriesen/GraphicsMagick/ltdl/ltdl.c", line 3742.62: 1506-280 (E) Function argument 
assignment between types "vo
id*" and "int(*)(const char*,void*)" is not allowed.
"/home/bfriesen/GraphicsMagick/ltdl/ltdl.c", line 3749.62: 1506-280 (E) Function argument 
assignment between types "vo
id*" and "int(*)(const char*,void*)" is not allowed.

The HPUX and IRIX compilers produce similar warning messages.

Yes, I'm aware of these. Unfortunately fixing them requires a rewrite of some of the internal APIs, which is quite an involved task. I've learned my lesson now though... function pointers and void* don't mix :-(


Cheers,
        Gary.
--
  ())_.  Gary V. Vaughan    gary@(lilith.warpmail.net|gnu.org)
  ( '/   Research Scientist http://www.oranda.demon.co.uk       ,_())____
  / )=   GNU Hacker         http://www.gnu.org/software/libtool  \'      `&
`(_~)_   Tech' Author       http://sources.redhat.com/autobook   =`---d__/



_______________________________________________
Libtool mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/libtool

Reply via email to