From: Masaki Muranaka <monaka@monami-software.com>
To: gdb-patches@sourceware.org
Subject: Build failed on MinGW host, sh-elf target.
Date: Sat, 06 May 2006 04:10:00 -0000 [thread overview]
Message-ID: <85848EC4-1618-4B6C-A5E7-7DD4F46BAF9F@monami-software.com> (raw)
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
next reply other threads:[~2006-05-06 4:10 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-06 4:10 Masaki Muranaka [this message]
2006-05-15 17:06 ` Daniel Jacobowitz
2006-05-16 6:34 ` Masaki Muranaka
2006-05-16 20:23 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=85848EC4-1618-4B6C-A5E7-7DD4F46BAF9F@monami-software.com \
--to=monaka@monami-software.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox