Skip site navigation (1)Skip section navigation (2)
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>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0011_01BF9116.58B79EC0
Content-Type: text/plain;
	charset="iso-8859-4"
Content-Transfer-Encoding: quoted-printable

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 >=3D width of type
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmode.def:74:=
 warning: left shift count >=3D width of type
...
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmode.def:113=
: warning: left shift count >=3D 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   =20

/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.

------=_NextPart_000_0011_01BF9116.58B79EC0
Content-Type: text/html;
	charset="iso-8859-4"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-4" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Dear sirs,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Recently i'm cvsup'ed RELENG_4 and =
accourgind=20
UPDATING document executed command make buildworl. everyting compiled =
w/o=20
errors, but therewere some warnings, I'm don't like:</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/usr/src/usr.bin/colldef/scan.l:638: =
warning:=20
`yyunput' defined but not used</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>/usr/src/usr.sbin/config/lang.l:1027: =
warning:=20
`yy_flex_realloc' defined but not used</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>texindex.o(.text+0xae): warning: =
mktemp() possibly=20
used unsafely; consider using mkstemp()</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmod=
e.def:73:=20
warning: left shift count &gt;=3D width of type</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmod=
e.def:74:=20
warning: left shift count &gt;=3D width of type</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>...</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/machmod=
e.def:113:=20
warning: left shift count &gt;=3D width of type</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>few times</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>../libbinutils/libbinutils.a(bucomm.o): =
In function=20
`make_tempname':</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>bucomm.o(.text+0x2d1): warning: =
mktemp() possibly=20
used unsafely; consider using mkstemp()<BR></FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/c-common.=
c:1655:=20
warning: passing arg 1 of `warning' from incompatible pointer =
type</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/reload1.c=
:1275:=20
warning: passing arg 4 of `decode_asm_operands' from incompatible =
pointer=20
type</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>/usr/src/gnu/usr.bin/cc/cc_int/../../../../contrib/gcc/toplev.c:=
1185:=20
warning: initialization from incompatible pointer type&nbsp;&nbsp;&nbsp; =

</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial=20
size=3D2>/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cc1obj/../cc_tools/=
c-gperf.h:180:=20
warning: initialization discards `const' from pointer target =
type</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>&amp; so on &amp; so on</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Maybe i did something wrong ? or missed =
something=20
?</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Dalius T.</DIV></FONT></BODY></HTML>

------=_NextPart_000_0011_01BF9116.58B79EC0--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001401bf910d$f87542e0$7a0d12ac>