[PATCH c++ 04/12] Add scm_t_dynwind_flags casts

Pedro Alves palves@redhat.com
Tue Oct 27 14:59:00 GMT 2015


On 10/26/2015 03:46 AM, Simon Marchi wrote:
> There is a handful of calls to
> 
>   scm_dynwind_begin (0);
> 
> where the parameter is an enum, scm_t_dynwind_flags.  In C++, we have no
> choice but to add an explicit cast, since there is no enum value that
> represents 0 (no flags set).

I agree; I don't think there's anything else that we could do here.

So, OK.

Thanks,
Pedro Alves



More information about the Gdb-patches mailing list