GDB CVS won't build on OSF4.0's cc
Alexandre Oliva
aoliva@redhat.com
Sun Jun 10 14:25:00 GMT 2001
On Jun 10, 2001, Eli Zaretskii <eliz@is.elta.co.il> wrote:
> On 9 Jun 2001, Alexandre Oliva wrote:
>> Fixed as follows. Not tested on all relevant architectures. I'd do
>> that after next Monday's GCC snapshot, since I've been building GDB
>> along with GDB lately. Ok to install?
> [...]
>> - memset ((PTR) objfile->sym_stab_info, 0, sizeof (struct dbx_symfile_info));
>> + memset ((void *) objfile->sym_stab_info, 0,
>> + sizeof (struct dbx_symfile_info));
> Do we _really_ have compilers which require to cast the first argument of
> memset to (void *)?
Dunno. I was just dumbly replacing PTR with void*, as requested.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gdb-patches
mailing list