<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Errors when upgraded from 1.45 to 2.0]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=439&amp;type=atom" />
	<updated>2015-02-17T15:39:58Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=439</id>
		<entry>
			<title type="html"><![CDATA[Re: Errors when upgraded from 1.45 to 2.0]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1905#p1905" />
			<content type="html"><![CDATA[<p>Sankar,</p><p>That&#039;s good news!&nbsp; There were some issues when Simply Fortran transitioned to its new Project Options format, sometime around version 2.5.&nbsp; Many of the compiler flags and options were moved from a Simply-Fortran-globally-declared position into project-specific position, which led to some hiccups for people transitioning.&nbsp; Hopefully there won&#039;t be any similar transitions in the future that are necessary.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-02-17T15:39:58Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1905#p1905</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Errors when upgraded from 1.45 to 2.0]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1904#p1904" />
			<content type="html"><![CDATA[<p>Jeff,</p><p>The errors have been fixed by assigning a custom line length and also by cleaning the project and rebuilding.</p><p>Thank you for your suggestions.</p><p>Regards<br />Sankar</p>]]></content>
			<author>
				<name><![CDATA[sankarnkp]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3473</uri>
			</author>
			<updated>2015-02-17T14:51:53Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1904#p1904</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Errors when upgraded from 1.45 to 2.0]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1901#p1901" />
			<content type="html"><![CDATA[<p>The problems you&#039;re seeing are most likely due to compiler options.&nbsp; For example, in the error you&#039;ve shown above, your code exceeds the allowed maximum per-line character count.&nbsp; You can fix this via an option that is now located in Project Options under the Fortran tab.&nbsp; &nbsp;The other issues could be related to a number of things.&nbsp; Without seeing them, I would guess:</p><ul><li><p>You need to enable the C preprocessor (also in Project Options-&gt;Fortran)</p></li><li><p>Your project uses modules and you haven&#039;t <a href="http://simplyfortran.com/docs/full/building/cleaning.html">Clean</a>ed your project prior to <a href="http://simplyfortran.com/docs/full/building/building.html">Build</a>ing.&nbsp; Modules generally require recompiling your project when the compiler version changes</p></li></ul><p>Have a look at <a href="http://simplyfortran.com/docs/full/options/project.html">the Project Options</a> window to help figure out what settings didn&#039;t translate when moving to version 2.21 (I hope you&#039;re upgrading to 2.21 and not 2.0).&nbsp; The issue with modules seems quite probable since you&#039;re seeing errors now under 1.45; the old version may be encountering some newer modules and complaining.</p><p>Without seeing more errors, I can&#039;t really point out exactly what has changed.&nbsp; Feel free to post more of them here or email them to support@approximatrix.com.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2015-02-17T01:27:38Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1901#p1901</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Errors when upgraded from 1.45 to 2.0]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1900#p1900" />
			<content type="html"><![CDATA[<p>I have been using SimplyFortran 1.45 mostly successfully (except dll issues). This morning I upgraded to version 2.0 and all the working projects suddenly started giving me all kind of errors. </p><p>I initially started getting error &quot;Unexpected junk in formal argument list at (1)&quot; in one of my files. Following is the form of the routine which caused the first error:</p><p>&nbsp; &nbsp;SUBROUTINE CalcProperty(Num,ID_InputSet,ID_State,CalcTransportProperties,InputArray,PropOutputArray,CompositionID)</p><p>When I changed it to:</p><p>&nbsp; &nbsp;SUBROUTINE CalcProperty(Num,ID_InputSet,ID_State,CalcTransportProperties, &amp;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; InputArray,fPropOutputArray,CompositionID)</p><p>The above mentioned file compiled correctly, but another kind of error started popping up in a different file. The errors are all over the place. </p><p>So with out making any changes, I went back to version 1.45 and tried to build the same projects. Now even 1.45 is giving me errors. I am totally lost on what happened. </p><p>Any help is much appreciated.</p><p>Regards<br />Sankar</p>]]></content>
			<author>
				<name><![CDATA[sankarnkp]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3473</uri>
			</author>
			<updated>2015-02-16T21:56:42Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1900#p1900</id>
		</entry>
</feed>
