Use gnu_printf in attribute(()) to indicate GNU printf extension support.