This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, RFC] Extend __attribute__((format)) with user-specified conversion sequences
- From: Mike Stump <mikestump at comcast dot net>
- To: Joseph S. Myers <joseph at codesourcery dot com>
- Cc: kohler at seas dot harvard dot edu, gcc-patches at gcc dot gnu dot org, Cliff Frey <clifffrey at gmail dot com>
- Date: Sun, 8 Apr 2012 10:02:04 -0700
- Subject: Re: [PATCH, RFC] Extend __attribute__((format)) with user-specified conversion sequences
- References: <4F773009.5090504@seas.harvard.edu> <Pine.LNX.4.64.1204081016480.24719@digraph.polyomino.org.uk>
On Apr 8, 2012, at 3:25 AM, Joseph S. Myers wrote:
> In principle we want extensibility of format checking, and want it to be
> as flexible as the built-in checking is regarding the peculiarities of
> different formats - but we also don't want to export implementation
> details of format checking to users' source code, and the two points seem
> rather to contradict each others. So my recent inclination has been that
> we should make it possible for plugins to add new format checking types
> (but the details of the relevant interfaces would be unstable, so such
> plugins might need to change for each GCC version).
Longer term, we can hope that the interface evolves into something stable and pretty. For the plugin people that don't want the interface churn, a little time now in this area hopefully would translate into longer term stability.