Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Dec 2015 06:35:55 +0800
From:      Erich Dollansky <erichsfreebsdlist@alogt.com>
To:        freebsd-current@freebsd.org
Subject:   how to avoid  warning: use of old-style cast [-Wold-style-cast]
Message-ID:  <20151220063555.5ae6a113@X220.alogt.com>

next in thread | raw e-mail | index | archive | help

Hi,

when compiling on FreeBSD 11, I get some warnings as mentioned in the
subject. What is the recommended way to avoid them?

Some examples are: FIONREAD or SIG_IGN.

The machine:

FreeBSD raspberry2.alogt.com 11.0-CURRENT FreeBSD 11.0-CURRENT #0
r291495: Tue Dec  1 09:13:20 UTC 2015
root@releng2.nyi.freebsd.org:/usr/obj/arm.armv6/usr/src/sys/RPI2 arm

Should we edit the include files?

Any other ideas?

Erich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20151220063555.5ae6a113>