diff options
Diffstat (limited to 'unoxml')
-rw-r--r-- | unoxml/source/xpath/xpathapi.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/unoxml/source/xpath/xpathapi.cxx b/unoxml/source/xpath/xpathapi.cxx index 491be8cab0b7..5d3e6d8c6189 100644 --- a/unoxml/source/xpath/xpathapi.cxx +++ b/unoxml/source/xpath/xpathapi.cxx @@ -261,6 +261,9 @@ namespace XPath extern "C" { +#if defined __GNUC__ + __attribute__ ((format (printf, 2, 3))) +#endif static void generic_error_func(void *, const char *format, ...) { char str[1000]; |