Re: Build failed on MinGW host, sh-elf target.

Daniel Jacobowitz
2006-05-15T16:58:23Z

On Sat, May 06, 2006 at 01:09:55PM +0900, Masaki Muranaka wrote:
> 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.

Does this happen anywhere besides ser-e7kpc.c? If not, I would rather
add it to just that file.

--
Daniel Jacobowitz
CodeSourcery