Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Sep 2019 09:36:02 -0400
From:      Ed Maste <emaste@freebsd.org>
To:        Bruce Evans <brde@optusnet.com.au>
Cc:        src-committers <src-committers@freebsd.org>, svn-src-all <svn-src-all@freebsd.org>,  svn-src-head <svn-src-head@freebsd.org>
Subject:   Re: svn commit: r352661 - head/sys/netinet/tcp_stacks
Message-ID:  <CAPyFy2BMAbnNqmu9Cn_74Cc4-3eHCPYfiQP9W17xj2=cdEwoOA@mail.gmail.com>
In-Reply-To: <20190925070207.Y3271@besplex.bde.org>
References:  <201909242036.x8OKahnv021758@repo.freebsd.org> <20190925070207.Y3271@besplex.bde.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Sep 2019 at 17:39, Bruce Evans <brde@optusnet.com.au> wrote:
>
> On i386, these types have different sizes, so
> gcc detects the type mismatch.  clang is too broken to report this type
> mismatch.

Interesting, it seems Clang doesn't even warn in the case of casting a
uint64_t to a 32-bit pointer. Looks like there are some useful
warnings that ought to be implemented.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2BMAbnNqmu9Cn_74Cc4-3eHCPYfiQP9W17xj2=cdEwoOA>