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: PR 207, 662


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



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