Date: Sat, 18 Mar 2000 20:12:55 +0100 From: "DT" <dt@mail.balt.net> To: <stable@freebsd.org> Subject: upgrading 3.x 4.0-stable warnings Message-ID: <001401bf910d$f87542e0$7a0d12ac@mambo.da.ru>
index | next in thread | raw e-mail
[-- Attachment #1 --] Dear sirs, Recently i'm cvsup'ed RELENG_4 and accourgind UPDATING document executed command make buildworl. everyting compiled w/o errors, but therewere some warnings, I'm don't like: /usr/src/usr.bin/colldef/scan.l:638: warning: `yyunput' defined but not used /usr/src/usr.sbin/config/lang.l:1027: warning: `yy_flex_realloc' defined but not used texindex.o(.text+0xae): warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmode.def:73: warning: left shift count >= width of type /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmode.def:74: warning: left shift count >= width of type ... /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmode.def:113: warning: left shift count >= width of type few times ../libbinutils/libbinutils.a(bucomm.o): In function `make_tempname': bucomm.o(.text+0x2d1): warning: mktemp() possibly used unsafely; consider using mkstemp() /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/c-common.c:1655: warning: passing arg 1 of `warning' from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/reload1.c:1275: warning: passing arg 4 of `decode_asm_operands' from incompatible pointer type /usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1185: warning: initialization from incompatible pointer type /usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1obj/../cc_tools/c-gperf.h:180: warning: initialization discards `const' from pointer target type & so on & so on Maybe i did something wrong ? or missed something ? Dalius T. [-- Attachment #2 --] <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META content="text/html; charset=iso-8859-4" http-equiv=Content-Type> <META content="MSHTML 5.00.2614.3500" name=GENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=#ffffff> <DIV><FONT face=Arial size=2>Dear sirs,</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>Recently i'm cvsup'ed RELENG_4 and accourgind UPDATING document executed command make buildworl. everyting compiled w/o errors, but therewere some warnings, I'm don't like:</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>/usr/src/usr.bin/colldef/scan.l:638: warning: `yyunput' defined but not used</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>/usr/src/usr.sbin/config/lang.l:1027: warning: `yy_flex_realloc' defined but not used</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>texindex.o(.text+0xae): warning: mktemp() possibly used unsafely; consider using mkstemp()</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmode.def:73: warning: left shift count >= width of type</FONT></DIV> <DIV><FONT face=Arial size=2>/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmode.def:74: warning: left shift count >= width of type</FONT></DIV> <DIV><FONT face=Arial size=2>...</FONT></DIV> <DIV><FONT face=Arial size=2>/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmode.def:113: warning: left shift count >= width of type</FONT></DIV> <DIV> </DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>few times</FONT></DIV> <DIV><FONT face=Arial size=2>../libbinutils/libbinutils.a(bucomm.o): In function `make_tempname':</FONT></DIV> <DIV><FONT face=Arial size=2>bucomm.o(.text+0x2d1): warning: mktemp() possibly used unsafely; consider using mkstemp()<BR></FONT></DIV> <DIV><FONT face=Arial size=2>/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/c-common.c:1655: warning: passing arg 1 of `warning' from incompatible pointer type</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/reload1.c:1275: warning: passing arg 4 of `decode_asm_operands' from incompatible pointer type</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:1185: warning: initialization from incompatible pointer type </FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1obj/../cc_tools/c-gperf.h:180: warning: initialization discards `const' from pointer target type</FONT></DIV> <DIV> </DIV> <DIV><FONT face=Arial size=2>& so on & so on</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Maybe i did something wrong ? or missed something ?</FONT></DIV> <DIV><FONT face=Arial size=2></FONT> </DIV> <DIV><FONT face=Arial size=2>Dalius T.</DIV></FONT></BODY></HTML>help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401bf910d$f87542e0$7a0d12ac>
