libreadline rl_message() and building the same object file 6 times?

Sean Bruno sean_bruno at yahoo.com
Tue Oct 29 20:54:27 UTC 2013


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 at powernoodle ~/bsd/head]$ MAKEOBJDIRPREFIX=/var/tmp make -s
-DNO_CLEAN buildworld > /var/tmp/libreadline.txt
/home/sbruno/bsd/head/gnu/lib/libreadline/readline/../../../../contrib/libreadline/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/libreadline/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/libreadline/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/libreadline/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/libreadline/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/libreadline/search.c:214:24: warning: data argument not used by format string
      [-Wformat-extra-args]
  rl_message ("%s", p, 0);
              ~~~~     ^
1 warning generated.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20131029/9d1af255/attachment.sig>


More information about the freebsd-current mailing list