[petsc-dev] PETSc blame digest (next) 2015-04-08
William Gropp
wgropp at illinois.edu
Wed Apr 8 10:31:07 CDT 2015
Ah. Well, my general sentiment remains. Warnings should be an *aid*, not a *demand*. If they’re too annoying, it isn’t hard to define rules to filter out most such warnings.
Bill
On Apr 8, 2015, at 10:28 AM, Jed Brown <jed at jedbrown.org> wrote:
> William Gropp <wgropp at illinois.edu> writes:
>> The issue is whether you want to be a slave to some compilers buggy warning code.
>
> Sure, but this is not a compiler bug. The statement really is
> unreachable when PETSC_USE_ERRORCHECKING (default), but it can't be
> fixed without breaking a different configuration. It could be fixed in
> this case with more macros, but the problem is more general and we
> probably need to turn off some warnings.
More information about the petsc-dev
mailing list