Hi Denis,

On Fri, Oct 5, 2018 at 4:47 AM Denis Kenzior <[email protected]> wrote:
>
> Hi Giacinto,
>
> >>
> >> I prefer we set a good example :)
> >
> > Then the cleanest way is to set a default in the switch, without any 
> > function.
> > Ok?
> >
>
> That is not really great either.  We want to make sure that the compiler
> warns us if we add a new enumeration and don't take care of it in the
> code.  In fact we have a coding-style.txt entry for this as well, see
> item M12.  If there's code that uses default labels for enums, it is
> likely not compliant and should probably be fixed.
>

You are not giving any choice here, other than rewriting gcc.
The function I have tried, and the compiler still complains.
I need a way out: please decide for the lesser evil, and I'll do it.

> Regards,
> -Denis

Regards,
Giacinto
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to