<string.h> missing from 1.5.6?

Cory Dodt corydodt@yahoo.com
Wed, 25 Apr 2001 00:14:53 -0700 (PDT)


In trying to compile 1.5.6 I ran across the rather unexpected error in
src/guile/gnucash.c:

sed < gnucash.c.in > gnucash.c.tmp \
            -e 's:@-GNC_SHAREDIR-@:/usr/share/gnucash:g' \
            -e 's:@-G_WRAP_MODULE_DIR-@:/usr/share/guile:g'
mv gnucash.c.tmp gnucash.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I..   -I../engine   -I../gnome  
-I../register   -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include
-DNEED_GNOMESUPPORT_H -I/usr/lib/gnome-libs/include       -g -O2 -Wall
-Wunused  -Wall -Wno-unused -Werror-implicit-function-declaration
-I/usr/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -DNEED_GNOMESUPPORT_H
-I/usr/lib/gnome-libs/include -I/usr/include/gnome-xml
-DUNICODE_USE_SYSTEM_ICONV -I/usr/include/gconf/1 -DGTKHTML_HAVE_GCONF -c
gnucash.c
gnucash.c: In function `gnucash_main_helper':
gnucash.c:117: implicit declaration of function `memcpy'

It was easily fixed by adding <string.h> to gnucash.c and recompiling.  Is
this actually a bug or did configure screw up royally?  Everything else
built perfectly.

__________________________________________________
Do You Yahoo!?
Yahoo! Auctions - buy the things you want at great prices
http://auctions.yahoo.com/