Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Jul 2018 12:46:42 -0700
From:      Mark Millard <marklmi@yahoo.com>
To:        brooks@FreeBSD.org, svn-src-head@freebsd.org, FreeBSD Current <freebsd-current@freebsd.org>
Subject:   Re: svn commit: r336002 - in head: usr.bin/netstat usr.sbin/tcpdrop [ as-of -r336013: still broken: ci.freebsd.org FreeBSD-head-{mips,powerpc,powerpcspe}-build 
Message-ID:  <18A86BF1-7428-4387-8889-7EEC07CD8EDA@yahoo.com>

next in thread | raw e-mail | index | archive | help
> Author: brooks
> Date: Thu Jul  5 17:02:10 2018
> New Revision: 336002
> URL:=20
> https://svnweb.freebsd.org/changeset/base/336002
>=20
>=20
> Log:
>   Work around lame warnings in ancient gcc on 32-bit platforms.
>  =20
>   Fixes r335979.


[The below are the gcc 4.2.1 based 32-bit architectures.]

https://ci.freebsd.org/job/FreeBSD-head-mips-build/3192/consoleText =
shows
(as an example):

--- kern_descrip.o ---
cc1: warnings being treated as errors
/usr/src/sys/kern/kern_descrip.c: In function 'sysctl_kern_file':
/usr/src/sys/kern/kern_descrip.c:3365: warning: cast from pointer to =
integer of different size [-Wpointer-to-int-cast]
/usr/src/sys/kern/kern_descrip.c:3366: warning: cast from pointer to =
integer of different size [-Wpointer-to-int-cast]
/usr/src/sys/kern/kern_descrip.c:3367: warning: cast from pointer to =
integer of different size [-Wpointer-to-int-cast]

powerpc and powerpcspe agree.

=3D=3D=3D
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18A86BF1-7428-4387-8889-7EEC07CD8EDA>