<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Unexpected end of file in compile]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=566</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=566&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Unexpected end of file in compile.]]></description>
		<lastBuildDate>Thu, 30 Jun 2016 14:16:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Unexpected end of file in compile]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2568#p2568</link>
			<description><![CDATA[<p>John,</p><p>Simply Fortran should recognize files with a <em>.INC</em> extension as Fortran files for editing purposes.&nbsp; However, it will not attempt to compile them directly during build.&nbsp; They should be safe to include in the Project Outline.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Thu, 30 Jun 2016 14:16:49 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2568#p2568</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unexpected end of file in compile]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2567#p2567</link>
			<description><![CDATA[<p>I don&#039;t know if this would make any difference but, when I use INCLUDE files, I give them the extension, &#039;.INC&#039; rather than one of the Fortran extensions like .F90, .FOR or&nbsp; .F77 , which Fortran compilers generally take from filename and extension to mean they are Fortran source files, and are to be compiled.</p><p>I also don&#039;t include them in the Project Outline list, but just make sure SF knows where they are, so that statements like INCLUDE &#039;{<em>IncludeFIleName</em>}.INC&#039; can be executed at compile time.</p><p>I don&#039;t know what would happen if, as well as using a non-Fortran <em>IncludeFileName</em> extension, I also added these files to the Project Outline.<br />--- <br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Thu, 30 Jun 2016 13:05:18 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2567#p2567</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unexpected end of file in compile]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2565#p2565</link>
			<description><![CDATA[<p>By default, Simply Fortran will try to compile all files with a valid Fortran extension (like <em>.F90</em>) as separate files, but, in your case, it shouldn&#039;t.&nbsp; You&#039;ll need to right-click <em>QJCommons.F90</em> in the Project Outline and select &quot;Disable File&quot; to make sure Simply Fortran doesn&#039;t attempt to compile it directly.&nbsp; It will still be compiled properly when it is pulled in via <em>INCLUDE</em> statements in your other source files.</p><p>Let me know if the above works properly.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 29 Jun 2016 15:20:28 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2565#p2565</guid>
		</item>
		<item>
			<title><![CDATA[Unexpected end of file in compile]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=2563#p2563</link>
			<description><![CDATA[<p>I have a large INCLUDE file that has declarations for a lot of variables in COMMON, as well as parameter definitions. When I try to compile the main program, which has the statement</p><p>INCLUDE &#039;QJCommons.F90&#039;</p><p>The compiler gives the error:</p><p>==============================================================================<br />Generating Makefile... Okay<br />==============================================================================<br />Compiling .\qjcommons.f90<br />f951.exe: Error: Unexpected end of file in &#039;.\qjcommons.f90&#039;<br />Error(E42): Last command making (build\qjcommons.o) returned a bad status<br />Error(E02): Make execution terminated</p><p>* Failed *</p><p>What can be causing this? The file has correct syntax (at least the editor is not complaining).</p>]]></description>
			<author><![CDATA[null@example.com (franceint)]]></author>
			<pubDate>Tue, 28 Jun 2016 21:17:57 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=2563#p2563</guid>
		</item>
	</channel>
</rss>
