[PATCH] Mark debug_print with __attribute__ ((format(__printf__, 1, 0)))

Keith Packard keithp at keithp.com
Mon Jan 13 06:19:28 PST 2014


Thierry Reding <thierry.reding at gmail.com> writes:

> While at it, perhaps the drmMsg() and drmDebugPrint() functions should
> be similarily annotated as well?

I don't know; I'm just fixing X server warnings this week and this was
the source of one of them. Additional warning fixes for drm would be
a great idea!

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140113/6d7caf33/attachment.pgp>


More information about the dri-devel mailing list