Date: Tue, 29 Oct 2013 13:51:09 -0700 From: Sean Bruno <sean_bruno@yahoo.com> To: "freebsd-current@freebsd.org" <freebsd-current@freebsd.org> Subject: libreadline rl_message() and building the same object file 6 times? Message-ID: <1383079869.59169.2.camel@localhost>
next in thread | raw e-mail | index | archive | help
--=-WHSW/0XuWpmKkkLV2a6J Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I *think* its safe to change this invocation of rl_message to omit the third argument, but I'm not 100%. Second, why on earth does a buildworld emit this warning 6 times? Its as though bmake things it needs to compile it repeatedly, and its not the only such time I've seen this across the tree. This probably means I don't know what I'm doing, but I'd like to know. sbruno@powernoodle ~/bsd/head]$ MAKEOBJDIRPREFIX=3D/var/tmp make -s -DNO_CLEAN buildworld > /var/tmp/libreadline.txt /home/sbruno/bsd/head/gnu/lib/libreadline/readline/../../../../contrib/libr= eadline/search.c:214:24: warning: data argument not used by format string [-Wformat-extra-args] rl_message ("%s", p, 0); ~~~~ ^ 1 warning generated. /home/sbruno/bsd/head/gnu/lib/libreadline/readline/../../../../contrib/libr= eadline/search.c:214:24: warning: data argument not used by format string [-Wformat-extra-args] rl_message ("%s", p, 0); ~~~~ ^ 1 warning generated. /home/sbruno/bsd/head/gnu/lib/libreadline/readline/../../../../contrib/libr= eadline/search.c:214:24: warning: data argument not used by format string [-Wformat-extra-args] rl_message ("%s", p, 0); nc.lo: In function `_$$hide$$ nc.lo main': (.text+0x5f5): warning: warning: mktemp() possibly used unsafely; consider using mkstemp() cc: warning: argument unused during compilation: '-L/var/tmp/home/sbruno/bsd/head/lib32/usr/lib32' /home/sbruno/bsd/head/gnu/lib/libreadline/readline/../../../../contrib/libr= eadline/search.c:214:24: warning: data argument not used by format string [-Wformat-extra-args] rl_message ("%s", p, 0); ~~~~ ^ 1 warning generated. /home/sbruno/bsd/head/gnu/lib/libreadline/readline/../../../../contrib/libr= eadline/search.c:214:24: warning: data argument not used by format string [-Wformat-extra-args] rl_message ("%s", p, 0); ~~~~ ^ 1 warning generated. /home/sbruno/bsd/head/gnu/lib/libreadline/readline/../../../../contrib/libr= eadline/search.c:214:24: warning: data argument not used by format string [-Wformat-extra-args] rl_message ("%s", p, 0); ~~~~ ^ 1 warning generated. --=-WHSW/0XuWpmKkkLV2a6J Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.15 (FreeBSD) iQEcBAABAgAGBQJScB+6AAoJEBkJRdwI6BaHyMsH/1VCoCO0joy9t990AN52e9Jj p2nWOojMAxC7g/vjiVqK0vIfaj9oaefNMaXyjL/rBDve3XsBFfaf5BkohrG8nUKw V9dHSEXwcCpjrqH/2A3VXZRYDxa077HUUPnkdc+B5RWimRumDGdmO8aeiSlzAaSp KK3Tlmk2Nfs9M0bcTgkbJ6jsTnt8+Si9iUEw2oUVXH9XBQrLO1hQzP2CL/OQ/LKA YuNDT1n17O3vzkVxrRZaVnbkhR6bomQ8W9vO03m2JcuQlv1ZizUdYt85nOmXdQ9b l6+8VwIIvjsw2EwnHEEe2DFmQJhlqY+kE/Sa2lU2iO9vFPXWETxuyHp0Xeadcdg= =gF7G -----END PGP SIGNATURE----- --=-WHSW/0XuWpmKkkLV2a6J--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1383079869.59169.2.camel>