PR 207, 662

Andrew Cagney ac131313@redhat.com
Tue Nov 19 14:31:00 GMT 2002


> Further, on attempt to compile, it fails in expect/exp_command.c with the
> following errors:
> 
> cc-1515 cc: ERROR File = exp_command.c, Line 920
>   A value of type "void *" cannot be assigned to an entity of type "int".
> 
>                 master = ((mode & TCL_READABLE)?rfd:wfd);
> 
> cc-1164 cc: ERROR File = exp_command.c, Line 930
>   Argument of type "void *" is incompatible with parameter of type "int".
> 
>                         if (-1 == (write_master = dup(wfd))) {

Hmm, I thought that one was `fixed'.  Just add a cast to supress the 
warning.

Andrew




More information about the Gdb mailing list