<div dir="ltr">Or you could just use ISO_C_BINDING.  Decent compilers should support it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, May 2, 2018 at 8:56 AM, Jed Brown <span dir="ltr"><<a href="mailto:jed@jedbrown.org" target="_blank">jed@jedbrown.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">See Fortran Language Issues.<br>
<br>
  <a href="https://gcc.gnu.org/gcc-8/porting_to.html" rel="noreferrer" target="_blank">https://gcc.gnu.org/gcc-8/<wbr>porting_to.html</a><br>
<br>
We'll have to test for this (probably compiler version) and change the<br>
PETSC_MIXED_LEN / PETSC_END_LEN to use size_t instead of int.<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">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></div>
</div>