Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



In article <20220624201621.EF2AFFB1B%cvs.NetBSD.org@localhost>,
Roland Illig <source-changes-d%NetBSD.org@localhost> wrote:
>-=-=-=-=-=-
>
>Module Name:	src
>Committed By:	rillig
>Date:		Fri Jun 24 20:16:21 UTC 2022
>
>Modified Files:
>	src/tests/usr.bin/xlint/lint1: msg_247.c
>	src/usr.bin/xlint/lint1: tree.c
>
>Log Message:
>lint: do not warn about pointer cast between sockaddr variants

Doesn't gcc warn for this? I mean it is ok to teach lint about cases
like this to reduce noise, but we are changing the behavior from what
is linguistically acceptable, into what is common practice acceptable
and I think this should be enabled via a command line switch.

christos



Home | Main Index | Thread Index | Old Index