This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/324: gdb 5.1.1 fails compile with Compaq C
- From: Andrew Cagney <ac131313 at cygnus dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 31 Jan 2002 19:48:02 -0000
- Subject: Re: gdb/324: gdb 5.1.1 fails compile with Compaq C
- Reply-to: Andrew Cagney <ac131313 at cygnus dot com>
The following reply was made to PR gdb/324; it has been noted by GNATS.
From: Andrew Cagney <ac131313@cygnus.com>
To: rjackson@gmu.edu
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/324: gdb 5.1.1 fails compile with Compaq C
Date: Thu, 31 Jan 2002 14:42:47 -0500
> Compaq Alphaserver 4100 running Tru64 UNIX 4.0G
> Compaq C V6.1-123 on Digital UNIX V4.0G (Rev. 1530)
>
>>Description:
>
> In top.c functions catch_errors() and quit_cover() second
> parameter does not match defs.h definitions. Change it
> from 'void *' to 'PTR'. The following is a sample error
> message from the make.
>
> -------------------
> cc: Error: top.c, line 515: In this declaration, parameter 1 has a different type
> than specified in an earlier declaration of this function. (mismatparam)
> quit_cover (void *s)
> ^
> cc: Error: top.c, line 515: In this declaration, the type of "quit_cover" is not
> compatible with the type of a previous declaration of "quit_cover" at line number
> 44 in file top.h. (notcompat)
> quit_cover (void *s)
> ^
Just FYI, other way round. GDB's replacing PTR with ``void *''.
(thanks)
Andrew