Hi!

I don't know how bad you want compiler warnings fixed, but since
packages seem to copy this source file I'm inclined to report it: (I
bumped into this trying to eliminate warnings out of "kaffe")

ltdl/ltdl.c contains a function strrchr with declaration (line 346)
static const char *strrchr LT_PARAMS((const char *str, int ch));

of which the result is then afterwards at more then one occasion used
for a "char *" variable.  At line 2757 there even is an explicit
assignment to the resulting char.  (All line numbers are for latest
CVS)

Personally, I think the function declaration and definition can just
be changed to used "char *" instead of "const char *".

Regards,
Stefaan


_______________________________________________
Bug-libtool mailing list
Bug-libtool@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-libtool

Reply via email to