Eric Blake <[EMAIL PROTECTED]> wrote: > I noticed when compiling tar on cygwin that I got a warning: > if gcc -DHAVE_CONFIG_H -DLIBDIR=\"/usr/local/lib\" -I. -I. -I.. -g2 -Wall > -Werror -MT argp-help.o -MD -MP -MF ".deps/argp-help.Tpo" -c -o argp-help.o > argp-help.c; \ > then mv -f ".deps/argp-help.Tpo" ".deps/argp-help.Po"; else rm -f > ".deps/argp-help.Tpo"; exit 1; fi > argp-help.c:1693:4: #warning No reasonable value to return
This has already been fixed in the CVS. > Further looking at the argp-help module shows that tries using > strrchr(program_invocation_name, '/') which is not portable Mailutils uses '/' in many places. It won't compile on MSDOS, anyway, and I don't believe it would be worth the trouble to port it there. > it would probably be wise to change argp-help > to use program_name in the same way that the error module > does. No, I prefer to use program_invocation_short_name/program_invocation_name, as I already did in CVS head. Regards, Sergey _______________________________________________ bug-gnulib mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-gnulib
