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

From: Sean Bruno <sean_bruno_at_yahoo.com>
Date: Tue, 29 Oct 2013 13:51:09 -0700
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.



Received on Tue Oct 29 2013 - 19:54:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC