<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Problem when compiling: mismatch between scalar and rank-1 array]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=855</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=855&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Problem when compiling: mismatch between scalar and rank-1 array.]]></description>
		<lastBuildDate>Fri, 20 May 2022 12:02:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Problem when compiling: mismatch between scalar and rank-1 array]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3923#p3923</link>
			<description><![CDATA[<p>Unfortunately, passing the flag as indicated didn&#039;t solve the problem. I guess that the compiler is ignoring the flag. I also tried with &quot;-std=legacy&quot; because &quot;-fallow-argument-mismatch&quot; is contained in &quot;-std=legacy&quot;. But didn&#039;t work also.<br />The problem is with an old code which tries to pass a Hollerith variable as an argument of another subroutine, where the variable which receives the Hollerith one is defined as an integer array of dimension 1. I will continue looking for a solution, because the old code is very good, and I would like to use it. For now, I managed myself in order to not use the problematic code. Thank you for your help, Jeff.</p>]]></description>
			<author><![CDATA[null@example.com (mchiapparini)]]></author>
			<pubDate>Fri, 20 May 2022 12:02:49 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3923#p3923</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problem when compiling: mismatch between scalar and rank-1 array]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3922#p3922</link>
			<description><![CDATA[<p>Oh! Thank you very much!</p>]]></description>
			<author><![CDATA[null@example.com (mchiapparini)]]></author>
			<pubDate>Thu, 19 May 2022 19:25:50 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3922#p3922</guid>
		</item>
		<item>
			<title><![CDATA[Re: Problem when compiling: mismatch between scalar and rank-1 array]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3921#p3921</link>
			<description><![CDATA[<p>You can enter compiler flags by opening the <a href="https://simplyfortran.com/docs/full/windows/options/project.html">Project Options window</a> from the <em>Options</em> menu under <em>Project...</em>&nbsp; In the <em>Project Options</em> window, select the <em>Compiler Flags</em> category and enter that flag in the box labeled &quot;Fortran.&quot;</p><p><span class="postimg"><img src="https://simplyfortran.com/docs/full/windows/options/project_options_flags.png" alt="https://simplyfortran.com/docs/full/windows/options/project_options_flags.png" /></span></p><p>Let me know if the above works!</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 18 May 2022 11:35:15 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3921#p3921</guid>
		</item>
		<item>
			<title><![CDATA[Problem when compiling: mismatch between scalar and rank-1 array]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=3920#p3920</link>
			<description><![CDATA[<p>Hello. I am a new user o SF, and I am still a bit lost. I need to use an old fortran code, and I am having problems with mismatch arguments (a scalar passed to a rank-1 array). The code worked perfectly several years ago. The problem is with the new Gfortran compiler defaults:<br />&quot;Gfortran 10 added the default behavior to make type mismatches an error instead of a warning. Legacy Fortran programs too often did not explicitly specify the procedure interfaces to allow implicit polymorphism. The Fortran 2008 standard cleaned up this situation in part with type(*).<br />Workaround: Gfortran flag &quot; -fallow-argument-mismatch &quot; can be used to degrade the errors to warnings. It is however strongly recommended to fix the problem in the legacy code, if it’s part of your code ownership.&quot;</p><p>So, I would like to pass the flag &quot; -fallow-argument-mismatch &quot; to the SF compiler. How should I proceed? Thank you in advance.</p>]]></description>
			<author><![CDATA[null@example.com (mchiapparini)]]></author>
			<pubDate>Tue, 17 May 2022 13:26:39 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=3920#p3920</guid>
		</item>
	</channel>
</rss>
