From: Dirk M. <day...@us...> - 2003-05-31 01:43:46
|
Update of /cvsroot/licq/licq/include In directory sc8-pr-cvs1:/tmp/cvs-serv9488/include Modified Files: licq_log.h Log Message: compiler warning fixes Index: licq_log.h =================================================================== RCS file: /cvsroot/licq/licq/include/licq_log.h,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- licq_log.h 3 Nov 2002 16:25:08 -0000 1.8 +++ licq_log.h 31 May 2003 01:43:43 -0000 1.9 @@ -213,8 +213,16 @@ protected: std::vector <CLogService *> m_vxLogServices; pthread_mutex_t mutex; - void Log(const unsigned short _nLogType, const char *_szFormat, va_list argp); - void Log(const unsigned short _nServiceTypes, const unsigned short _nLogType, const char *_szFormat, va_list argp); + void Log(const unsigned short _nLogType, const char *_szFormat, va_list argp) +#ifdef __GNUC__ + __attribute__ ((format (printf, 3, 0))) +#endif +; + void Log(const unsigned short _nServiceTypes, const unsigned short _nLogType, const char *_szFormat, va_list argp) +#ifdef __GNUC__ + __attribute__ ((format (printf, 4, 0))) +#endif +; }; |