diff options
Diffstat (limited to 'contrib/replxx/include/replxx.hxx')
-rw-r--r-- | contrib/replxx/include/replxx.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/replxx/include/replxx.hxx b/contrib/replxx/include/replxx.hxx index 3fe90e670..1401ea27c 100644 --- a/contrib/replxx/include/replxx.hxx +++ b/contrib/replxx/include/replxx.hxx @@ -370,6 +370,9 @@ public: * * \param fmt - printf style format. */ +#ifdef __GNUC__ + __attribute__((format(printf, 2, 3))) +#endif void print( char const* fmt, ... ); /*! \brief Schedule an emulated key press event. |