<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Unreadable chars in RPi compilation error msgs]]></title>
	<link rel="self" href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=537&amp;type=atom" />
	<updated>2016-03-04T18:33:13Z</updated>
	<generator>PunBB</generator>
	<id>http://forums.approximatrix.com/viewtopic.php?id=537</id>
		<entry>
			<title type="html"><![CDATA[Re: Unreadable chars in RPi compilation error msgs]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2414#p2414" />
			<content type="html"><![CDATA[<p>Ubuntu Mate</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2016-03-04T18:33:13Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2414#p2414</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Unreadable chars in RPi compilation error msgs]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2410#p2410" />
			<content type="html"><![CDATA[<p>John,</p><p>One additional question: What Linux distro are you currently using on your Raspberry Pi?&nbsp; Are you running Raspbian?&nbsp; </p><p>I don&#039;t see the issue on Raspbian 8, but it may be due to the locale on my system.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2016-03-04T13:35:24Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2410#p2410</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Unreadable chars in RPi compilation error msgs]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2408#p2408" />
			<content type="html"><![CDATA[<p>John,</p><p>The characters are almost certainly a Unicode quote of some sort that the compiler authors thought was necessary to add based on locales.&nbsp; Simply Fortran, on the other hand, treats all text as ASCII.&nbsp; When it reads the compiler output, it is unable to properly translate the (arguably unnecessary) fancy Unicode quote when reading it in.</p><p>I might be able to fix the issue by specifying a locale when launching the compiler.&nbsp; I&#039;ll see if I can first replicate the issue.</p><p>EDIT: This type of problem was bound to occur since we&#039;re not controlling the compiler&#039;s configuration on Linux in contrast to Windows.&nbsp; Simply Fortran is using whatever compiler the distribution provides.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2016-03-04T13:23:51Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2408#p2408</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Unreadable chars in RPi compilation error msgs]]></title>
			<link rel="alternate" href="http://forums.approximatrix.com/viewtopic.php?pid=2405#p2405" />
			<content type="html"><![CDATA[<p>In Linux RPi SF 2.26.2147 Gtk+, compilation error msgs are full of many unreable chars.</p><p>Example: </p><div class="codebox"><pre><code>Warning: Type mismatch in argument ânumâ at (1); passed INTEGER(4) to INTEGER(2)</code></pre></div><p>In this example, the unreadable chars seen here as <strong>ânumâ</strong>, where I have pasted them into this report, have taken on a different appearance from how they look in the SF editor pane.&nbsp; I can only describe in words how the characters <strong>ânumâ</strong> look in the SF editor pane, because I can&#039;t reproduce them in this report.&nbsp; They consist of, <strong>â</strong>, then two symbols like miniature 4 x 4 matrices, then <strong>numâ</strong>, then two more symbols like miniature 4 x 4 matrices</p><p>The line of Fortran code referred to in this message was this:</p><div class="codebox"><pre><code>12   if(travel(kk).lt.0)call bug(25)</code></pre></div><p>To give you an idea of how many of these there are, here is a longer compiler output fragment</p><div class="codebox"><pre><code>{Warning: Type mismatch in argument ânumâ at (1); passed INTEGER(4) to INTEGER(2)
Source/ADVENTUR.FOR:744:14:

  5120 if((liq(0).eq.k.and.here(bottle).eq.1).or.k.eq.liqloc(loc))
              1
Error: Type mismatch in argument âdummyâ at (1); passed INTEGER(4) to INTEGER(2)
Source/ADVENTUR.FOR:771:26:

       if(kk.eq.0)call bug(26)
                          1
Warning: Type mismatch in argument ânumâ at (1); passed INTEGER(4) to INTEGER(2)
Source/ADVENTUR.FOR:791:34:

  12   if(travel(kk).lt.0)call bug(25)
                                  1
Warning: Type mismatch in argument ânumâ at (1); passed INTEGER(4) to INTEGER(2)
Source/ADVENTUR.FOR:809:18:

       call rspeak(nl-500)
                  1
Warning: Type mismatch in argument âiâ at (1); passed INTEGER(4) to INTEGER(2)
Source/ADVENTUR.FOR:816:30:

       if(newloc.gt.3)call bug(20)
                              1
Warning: Type mismatch in argument ânumâ at (1); passed INTEGER(4) to INTEGER(2)
Source/ADVENTUR.FOR:826:18:

       call rspeak(117)
                  1
Warning: Type mismatch in argument âiâ at (1); passed INTEGER(4) to INTEGER(2)
Source/ADVENTUR.FOR:843:24:</code></pre></div><p>---<br />John</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>http://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2016-03-02T20:07:28Z</updated>
			<id>http://forums.approximatrix.com/viewtopic.php?pid=2405#p2405</id>
		</entry>
</feed>
