https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47781
--- Comment #8 from Philip Prindeville <philipp_s...@redfish-solutions.com> --- (In reply to jos...@codesourcery.com from comment #4) > For the general issue, my inclination is that we should add plugin hooks > into the format checking machinery that allow plugins to define formats > with the full flexibility of all the format checking datastructures in > GCC. Using GCC plugins for this avoids problems with defining complicated > syntax in the source file to describe the peculiarities of different > formats, which might constrain future changes to the format checking > implementation by making too much of the internals visible to user source > code, because by design GCC plugins can use GCC internals which are free > to change incompatibly in ways that require plugin changes. What about using pragmas to describe the new format specifier?