This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Re: bugfix gdb5.0/insight5.0
- From: Grant Edwards <grante at visi dot com>
- To: Jan Van Belle <Jan dot Van_Belle at alcatel dot be>,Jan_VAN_BELLE/BE/ALCATEL at ALCATEL dot visi dot com
- Cc: gdb at sources dot redhat dot com
- Date: Fri, 7 Dec 2001 08:44:15 -0600
- Subject: Re: bugfix gdb5.0/insight5.0
- References: <3C108A1A.561C7AF7@alcatel.be>
On Fri, Dec 07, 2001 at 10:21:30AM +0100, Jan Van Belle wrote:
> for those compiling for target arm-elf, I have a small bugfix at
> compile-time.
>
> remove: struct tm lt;
>
> in two functions. (openLog() and closeLog() or something. It are the
> first two functions in the file).
>
> in file: xxx/xxx5.0/gdb/rdi-share/devsw.c
>
> Otherwise I got: struct tm : size not known.
> struct tm is declared in the two functions but not called in any way...
I see time.h was included a while back to get rid of the
warning, but it looks like Mr. Van Belle is right, the stuct is
never used, so both the declaration and the include of time.h
should be removed.
--
Grant Edwards
grante@visi.com