This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [Patch] Conversion warnings when truncating 64-bit types (v1)
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Martin von Loewis <Martin dot vonLoewis at hpi dot uni-potsdam dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 24 Oct 2006 14:55:04 +0000 (UTC)
- Subject: Re: [Patch] Conversion warnings when truncating 64-bit types (v1)
- References: <453E23BB.2010101@hpi.uni-potsdam.de>
I feel this should integrate with the infrastructure that will be added by
<http://gcc.gnu.org/wiki/WcoercionProject> (enabling the warnings by
default for certain types).
The relevant size_t and ptrdiff_t definitions are those in stddef.h, which
would need the attribute added.
--
Joseph S. Myers
joseph@codesourcery.com