This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bugfix gdb5.0/insight5.0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]