17.11.2013 22:00, Stefan Weil wrote: > gcc 4.8.2 reports this warning when extra warnings are enabled (-Wextra): > > CC qobject/qerror.o > qobject/qerror.c: In function ‘qerror_from_info’: > qobject/qerror.c:53:5: error: > function might be possible candidate for ‘gnu_printf’ format attribute > [-Werror=suggest-attribute=format] > qerr->err_msg = g_strdup_vprintf(fmt, *va); > ^
Thanks, applied to the trivial-patches queue. Hopefully we found and verified all invlcations of qerror_from_info() and there really are no "wrong" invocations which will lead to new warnings after this printf attribute addition... ;) (This function is static so only this file needed to be checked). /mjt