<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On 18 December 2015 at 16:10, Jeff Hammond <span dir="ltr"><<a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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<span></span> that by default now?<div><div><br></div></div></blockquote><div><br></div><div>It's the default with the Ubuntu MPICH package.</div><div><br></div><div>Garth</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div></div><div>Jeff<div><div class="h5"><br><br>On Thursday, December 17, 2015, Garth N. Wells <<a href="mailto:gnw20@cam.ac.uk" target="_blank">gnw20@cam.ac.uk</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>I've reported before that SuperLU has a bug that causes compile failures:</div><div><br></div><div><div> util.c:32:18: error: format not a string literal and no format arguments [-Werror=format-security]</div><div> fprintf(stderr, msg);</div></div><div><br></div><div>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.</div><div><br></div><div>There is a similar bug in SuperLU_dist that I also fix by hand.</div><div><br></div><div>Garth</div></div></div>
</div>
</blockquote></div></div></div></div><span class="HOEnZb"><font color="#888888"><br><br>-- <br>Jeff Hammond<br><a href="mailto:jeff.science@gmail.com" target="_blank">jeff.science@gmail.com</a><br><a href="http://jeffhammond.github.io/" target="_blank">http://jeffhammond.github.io/</a><br>
</font></span></blockquote></div><br></div></div>