GNOME Bugzilla – Bug 340054
guniprop.c: bsearch is undefined
Last modified: 2006-04-28 20:39:06 UTC
Please describe the problem: 'bsearch' is used without prototype declaration. stdlib.h should be included in guniprop.c. Steps to reproduce: 1. compile guniprop.c. Actual results: Following message is displayed. (Visual C++ 6.0) guniprop.c(485) : error C4013: 'bsearch' undefined; assuming extern returning int Expected results: Add '#include <stdlib.h>' Does this happen every time? Other information:
My fault, thanks. 2006-04-28 Behdad Esfahbod <behdad@gnome.org> * glib/guniprop.c: #include <stdlib.h>