This is the mail archive of the
mailing list for the GCC project.
Re: [Patch] Conversion warnings when truncating 64-bit types (v1)
Joseph S. Myers wrote:
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).
Ok. I assume the type attribute should be added, but the command line
option should not?
How should I proceed with the patch? Wait until -Wcoercion is
integrated? Work with these authors to integrate the __w64__ attribute
into their patch? (either would be fine with me)
The relevant size_t and ptrdiff_t definitions are those in stddef.h, which
would need the attribute added.
Ok, will do.