RFC: Patch to allow compilation by Sun cc
Andrew Cagney
ac131313@cygnus.com
Thu Feb 1 11:15:00 GMT 2001
Paul Hilfinger wrote:
>
> OK, this was annoying:
>
> 1. That particular parameter is actually an enum target_signal, and
> some calls of this macro supply that.
> 2. So I ought to declare it as enum target_signal in the header file,
> BUT
> 3. We apparently can't count on enum target_signal being defined when
> the header is included.
See the currently tabled patch:
http://sources.redhat.com/ml/gdb-patches/2001-01/msg00206.html
part of it moves the enum to defs.h. I think it is less of a compromise
than a cast.
Andrew
More information about the Gdb-patches
mailing list