> From the list I gave earlier:
> 
>   -Wformat
>   -Wimplicit
>   -Wreturn-type
>   -Wsequence-point
>   -Wswitch
>   -Waddress
>   -Wstrict-aliasing
>   -Wenum-compare
>   -Wreorder
>   -Wpointer-sign

OK, the above list looks reasonable to me at least as a starting point
that could be a bit refined (not sure -Wstrict-aliasing is so useful by
default for instance for legacy code), certainly much more reasonable
than 'enable -Wall by default', since as I said, switches such as
-Wuninitialized may generate lots of false positives, annoying people.

> > BTW, I don't think -pedantic should be enabled by default, or this
> > wouldn't be "pedantic" anymore.
> 
> I am not proposing that in this discussion.  I was answering a question.

Sure, but this still gives us a perspective and datapoint that what some
users ask and consider as 'obvious' are actually not reasonable requests.

Arno

Reply via email to