<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic GRC compiler crashing on OS X in Archicad C++ API</title>
    <link>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73457#M7922</link>
    <description>&lt;DIV class="actalk-migrated-content"&gt;Hi guys,&lt;BR /&gt;&lt;BR /&gt;The transition to CodeWarrior on OS X from VS/XP has been 'interesting' and a little time consuming.&lt;BR /&gt;&lt;BR /&gt;Any GRC file that I move from my XP machine to the Mac causes the Graphisoft GRC compiler (ConvertGRC_90) to crash. I thought it was just my own GRC files ... it just did it for Navigator_TestFix.grc from the examples folder.&lt;BR /&gt;&lt;BR /&gt;I'm just right-mousing the GRC file in CodeWarrior and clicking on Compile.&lt;BR /&gt;&lt;BR /&gt;The GRC files in the Mac dev kit compile just fine. So do the ones created by "New | Graphisoft Add-on".&lt;BR /&gt;&lt;BR /&gt;If I open a Mac GRC and an XP GRC file in Word on the Mac and turn on hidden symbols, they look the same, but hexdump shows the CRLF at the end of each line on a Windows-originated file and only LF on Mac-created files. Which I guess I'd heard about in the past, half-listening to Mac people, not thinking I'd ever be one. &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" border="0" /&gt; This shouldn't cause the GRC compiler to crash, though, should it?!!&lt;BR /&gt;&lt;BR /&gt;As a workaround, I've found that if I open a Windows grc file in Word on the Mac and then immediately save as text, then the CR's are stripped off and all works fine.&lt;BR /&gt;&lt;BR /&gt;I've reported this intolerance of CRLF sequences as a bug.&lt;BR /&gt;&lt;BR /&gt;Karl&lt;BR /&gt;&lt;BR /&gt;PS Here's part of what I get from the Mac bug reporter after the crash:&lt;BR /&gt;
&lt;PRE&gt;Date/Time:      2004-12-04 18:05:09 -0800
OS Version:     10.3.6 (Build 7R28)
Report Version: 2

Command: CodeWarrior IDE
Path:    /Applications/Metrowerks CodeWarrior 9.0/Metrowerks  
CodeWarrior/CodeWarrior IDE
Version: ??? (???)
PID:     583
Thread:  2

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

...
Thread 2 Crashed:
0   ConvertGRC_90                 0x070bb548 Write_Error__FPclUc +  
0x1e8
1   ConvertGRC_90                 0x070bb7ac CL_Error__FPc + 0x24
2   ConvertGRC_90                 0x070bb064 InitMacBuffer__FPclc +  
0xe4
&lt;/PRE&gt;
&lt;/DIV&gt;</description>
    <pubDate>Tue, 13 Dec 2022 21:29:54 GMT</pubDate>
    <dc:creator>Karl Ottenstein</dc:creator>
    <dc:date>2022-12-13T21:29:54Z</dc:date>
    <item>
      <title>GRC compiler crashing on OS X</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73457#M7922</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;Hi guys,&lt;BR /&gt;&lt;BR /&gt;The transition to CodeWarrior on OS X from VS/XP has been 'interesting' and a little time consuming.&lt;BR /&gt;&lt;BR /&gt;Any GRC file that I move from my XP machine to the Mac causes the Graphisoft GRC compiler (ConvertGRC_90) to crash. I thought it was just my own GRC files ... it just did it for Navigator_TestFix.grc from the examples folder.&lt;BR /&gt;&lt;BR /&gt;I'm just right-mousing the GRC file in CodeWarrior and clicking on Compile.&lt;BR /&gt;&lt;BR /&gt;The GRC files in the Mac dev kit compile just fine. So do the ones created by "New | Graphisoft Add-on".&lt;BR /&gt;&lt;BR /&gt;If I open a Mac GRC and an XP GRC file in Word on the Mac and turn on hidden symbols, they look the same, but hexdump shows the CRLF at the end of each line on a Windows-originated file and only LF on Mac-created files. Which I guess I'd heard about in the past, half-listening to Mac people, not thinking I'd ever be one. &lt;IMG style="display: inline;" src="https://community.graphisoft.com/legacyfs/online/emojis/icon_rolleyes.gif" border="0" /&gt; This shouldn't cause the GRC compiler to crash, though, should it?!!&lt;BR /&gt;&lt;BR /&gt;As a workaround, I've found that if I open a Windows grc file in Word on the Mac and then immediately save as text, then the CR's are stripped off and all works fine.&lt;BR /&gt;&lt;BR /&gt;I've reported this intolerance of CRLF sequences as a bug.&lt;BR /&gt;&lt;BR /&gt;Karl&lt;BR /&gt;&lt;BR /&gt;PS Here's part of what I get from the Mac bug reporter after the crash:&lt;BR /&gt;
&lt;PRE&gt;Date/Time:      2004-12-04 18:05:09 -0800
OS Version:     10.3.6 (Build 7R28)
Report Version: 2

Command: CodeWarrior IDE
Path:    /Applications/Metrowerks CodeWarrior 9.0/Metrowerks  
CodeWarrior/CodeWarrior IDE
Version: ??? (???)
PID:     583
Thread:  2

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000000

...
Thread 2 Crashed:
0   ConvertGRC_90                 0x070bb548 Write_Error__FPclUc +  
0x1e8
1   ConvertGRC_90                 0x070bb7ac CL_Error__FPc + 0x24
2   ConvertGRC_90                 0x070bb064 InitMacBuffer__FPclc +  
0xe4
&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 Dec 2022 21:29:54 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73457#M7922</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2022-12-13T21:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: GRC compiler crashing on OS X</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73458#M7923</link>
      <description>Well, you can't ask for better customer service than this: Akos Somorjai already sent me a revised version of ConvertGRC_90 this morning!  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
I imagine he will share it here, or it will be added to the developer downloads page.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Tue, 07 Dec 2004 01:24:15 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73458#M7923</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2004-12-07T01:24:15Z</dc:date>
    </item>
    <item>
      <title>Re: GRC compiler crashing on OS X</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73459#M7924</link>
      <description>Folks, we plan to release a new version of the 6.1 DevKit -- just as a Christmas present for you  &lt;IMG src="https://community.graphisoft.com/legacyfs/online/emojis/icon_biggrin.gif" style="display : inline;" /&gt; &lt;BR /&gt;
&lt;BR /&gt;
That'll contain the updated GRC compiler plugin.&lt;BR /&gt;
&lt;BR /&gt;
BR,&lt;BR /&gt;
&lt;BR /&gt;
Akos</description>
      <pubDate>Thu, 09 Dec 2004 09:16:58 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73459#M7924</guid>
      <dc:creator>Akos Somorjai</dc:creator>
      <dc:date>2004-12-09T09:16:58Z</dc:date>
    </item>
    <item>
      <title>Re: GRC compiler crashing on OS X</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73460#M7925</link>
      <description>&lt;BLOCKQUOTE&gt;Karl wrote:&lt;BR /&gt;As a workaround, I've found that if I open a Windows grc file in Word on the Mac and then immediately save as text, then the CR's are stripped off and all works fine.&lt;/BLOCKQUOTE&gt;

Karl,&lt;BR /&gt;
&lt;BR /&gt;
You can easily change the text file type (Mac/DOS/Unix) from a menu in the toolbar at the top of every source-code window in CW (and many other text editors). See the attached image.</description>
      <pubDate>Wed, 09 Feb 2005 10:30:13 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73460#M7925</guid>
      <dc:creator>Ralph Wessel</dc:creator>
      <dc:date>2005-02-09T10:30:13Z</dc:date>
    </item>
    <item>
      <title>Re: GRC compiler crashing on OS X</title>
      <link>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73461#M7926</link>
      <description>&lt;BLOCKQUOTE&gt;Ralph wrote:&lt;BR /&gt;You can easily change the text file type (Mac/DOS/Unix) from a menu in the toolbar at the top of every source-code window in CW (and many other text editors). See the attached image.&lt;/BLOCKQUOTE&gt;

Aha!  Thanks, Ralph.&lt;BR /&gt;
&lt;BR /&gt;
Karl</description>
      <pubDate>Wed, 09 Feb 2005 19:38:01 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Archicad-C-API/GRC-compiler-crashing-on-OS-X/m-p/73461#M7926</guid>
      <dc:creator>Karl Ottenstein</dc:creator>
      <dc:date>2005-02-09T19:38:01Z</dc:date>
    </item>
  </channel>
</rss>

