Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
* Build failed on MinGW host, sh-elf target.
@ 2006-05-06  4:10 Masaki Muranaka
  2006-05-15 17:06 ` Daniel Jacobowitz
  0 siblings, 1 reply; 4+ messages in thread
From: Masaki Muranaka @ 2006-05-06  4:10 UTC (permalink / raw)
  To: gdb-patches

Hello All,

GDB build was failed at ser-e7kpc.c on MinGW host, sh-elf target.
(there is no build failure on the linux host, sh-elf target.)

The error messages is follows:
../../src/gdb/ser-e7kpc.c:232: warning: implicit declaration of  
function `time'
make[2]: *** [ser-e7kpc.o] Error 1

- - - - - -
2006-05-06  Masaki Muranaka  <monaka@monami-software.com>

         * defs.h: Include <time.h> if HAVE_TIME_H is defined.

- - - - - -
Index: gdb/defs.h
===================================================================
RCS file: /cvs/src/src/gdb/defs.h,v
retrieving revision 1.194
diff -u -p -r1.194 defs.h
--- gdb/defs.h  25 Feb 2006 04:36:39 -0000      1.194
+++ gdb/defs.h  6 May 2006 04:02:33 -0000
@@ -39,6 +39,10 @@
#include <unistd.h>
#endif

+#ifdef HAVE_TIME_H
+#include <time.h>
+#endif
+
#include <fcntl.h>
/* First include ansidecl.h so we can use the various macro definitions

--
Masaki Muranaka
Monami software



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2006-05-16 20:22 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-05-06  4:10 Build failed on MinGW host, sh-elf target Masaki Muranaka
2006-05-15 17:06 ` Daniel Jacobowitz
2006-05-16  6:34   ` Masaki Muranaka
2006-05-16 20:23     ` Daniel Jacobowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox