> Date: Wed, 6 May 2009 17:05:09 +0800 > From: Hui Zhu > > mingw32 don't have bzero? > Could you please help me try to build some code that have bzero in mingw? Probably best to replace bzero with memset. > On Wed, May 6, 2009 at 16:50, Kai Tietz wrote: > > Hello, > > > > I noticed a failure while building gdb for x64 target. It seems to be an > > new regression. > > > > x86_64-pc-mingw32-gcc -g -O2 -D__USE_MINGW_ACCESS   -I. -I../../src/gdb > > -I../../ > > src/gdb/common -I../../src/gdb/config > > -DLOCALEDIR="\"/usr/local/share/locale\"" > > -DHAVE_CONFIG_H -I../../src/gdb/../include/opcode > > -I../../src/gdb/../readline/.. > >  -I../bfd -I../../src/gdb/../bfd -I../../src/gdb/../include > > -I../libdecnumber -I > > ../../src/gdb/../libdecnumber -I./../intl -I../../src/gdb/gnulib -Ignulib > > -DMI_ > > OUT=1  -Wall -Wdeclaration-after-statement -Wpointer-arith > > -Wformat-nonliteral - > > Wno-pointer-sign -Wno-unused -Wno-switch -Wno-char-subscripts -Wno-format > > -Werro > > r -c -o i386-tdep.o -MT i386-tdep.o -MMD -MP -MF .deps/i386-tdep.Tpo > > ../../src/g > > db/i386-tdep.c > > cc1: warnings being treated as errors > > ../../src/gdb/i386-tdep.c: In function 'i386_process_record': > > ../../src/gdb/i386-tdep.c:2996: error: implicit declaration of function > > 'bzero' > > ../../src/gdb/i386-tdep.c:2996: error: incompatible implicit declaration > > of buil > > t-in function 'bzero' > > make[2]: *** [i386-tdep.o] Error 1 > > > > Cheers, > > Kai > > > > |  (\_/)  This is Bunny. Copy and paste Bunny > > | (='.'=) into your signature to help him gain > > | (")_(") world domination. > > > > > >