GNOME Bugzilla – Bug 551410
gtestutils.c: using printf without prototype
Last modified: 2008-09-10 22:39:53 UTC
Please describe the problem: 'printf' is used without the prototype declaration in gtestutils.c. 'stdio.h' should be included. Steps to reproduce: 1. compile gtestutils.c Actual results: Following message is displayed.(Visual C++) gtestutils.c(355) : error C4013: 'printf' undefined; assuming extern returning int Expected results: Add '#include "stdio.h"'. Does this happen every time? Revision 7442 or later Other information:
2008-09-10 Matthias Clasen <mclasen@redhat.com> Bug 551410 – gtestutils.c: using printf without prototype * glib/gtestutils.c: Include stdio.h. Pointed out by Kazuki Iwamoto.