<div class="gmail_quote">On Tue, May 10, 2011 at 18:46, Ethan Coon <span dir="ltr"><<a href="mailto:ecoon@lanl.gov">ecoon@lanl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div id=":9ly">Is there a reason that both .F and .F90 examples are in fixed format,<br>
even though .F90 files should be interpreted as free format?</div></blockquote><div><br></div><div>I thought that was up to the compiler flags of the user's project. I think the preference is to always write hybrid code in the examples so that free/fixed compiler flags don't have to be sorted out at configure time and so the user can use whatever convention they like.</div>
<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div id=":9ly"> I guess<br>
the fixed format works for either a fixed/free compiler, but it's ugly.<br>
I wouldn't be surprised if there was a portability issue with free<br>
format .F90 files, so I figured I'd check.</div></blockquote></div><br><div>There is a Note in the standard showing how to write free/fixed hybrid Fortran (non-normative, as pointed out by a gcc developer who didn't want to fix the warning, <a href="http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42852">http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42852</a>).</div>