[gq-commit] gq/src errorchain.h,1.7,1.8
Status: Beta
Brought to you by:
sur5r
From: <sta...@us...> - 2003-10-09 05:18:13
|
Update of /cvsroot/gqclient/gq/src In directory sc8-pr-cvs1:/tmp/cvs-serv6014 Modified Files: errorchain.h Log Message: * Use portable way to specify the printf format attribute for printf-style vararg function Index: errorchain.h =================================================================== RCS file: /cvsroot/gqclient/gq/src/errorchain.h,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** errorchain.h 5 Oct 2003 13:38:06 -0000 1.7 --- errorchain.h 9 Oct 2003 05:18:10 -0000 1.8 *************** *** 31,36 **** int error_new_context(const char *title); ! void error_push_production(int context, const char *msg, ...) ! __attribute__ ((format (printf, 2, 3))); #ifdef DEBUG --- 31,37 ---- int error_new_context(const char *title); ! void error_push_production(int context, const char *msg, ...) ! G_GNUC_PRINTF(2, 3); ! /* __attribute__ ((format (printf, 2, 3))); */ #ifdef DEBUG |