[petsc-dev] SuperLU build error

Jeff Hammond jeff.science at gmail.com
Fri Dec 18 10:10:09 CST 2015


Are you intentionally turning printf security warnings into errors for an
HPC code or is that the default setting for PETSc? Or perhaps GCC enables
that by default now?

Jeff

On Thursday, December 17, 2015, Garth N. Wells <gnw20 at cam.ac.uk> wrote:

> I've reported before that SuperLU has a bug that causes compile failures:
>
>   util.c:32:18: error: format not a string literal and no format arguments
> [-Werror=format-security]
>        fprintf(stderr, msg);
>
> I usually fix this by hand, but the way PETSc since very recently resets
> user changes in cloned external packages is overwriting the change I make.
>
> There is a similar bug in SuperLU_dist that I also fix by hand.
>
> Garth
>


-- 
Jeff Hammond
jeff.science at gmail.com
http://jeffhammond.github.io/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20151218/a11ce329/attachment.html>


More information about the petsc-dev mailing list