[PATCH] Fix build failure on macOS

Pedro Alves palves@redhat.com
Wed Dec 18 16:21:00 GMT 2019


On 12/18/19 3:05 PM, Tom Tromey wrote:

> Let me know what you think.  I intend to check this in on the gdb 9
> branch as well.

Whoops, should have thought of this.

> @@ -78,7 +78,9 @@ enum ui_out_type
>  enum class field_kind
>    {
>      SIGNED,
> -    STRING,
> +    /* This has a funny name to avoid clashes with tokens named
> +       "STRING".  See PR build/25250.  */
> +    FIELD_STRING,
>    };

I'd rather rename SIGNED to FIELD_SIGNED as well, for consistency.
It no longer looks funny that way.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list