2004-12-0504:02 AM - last edited on 2022-12-1310:29 PM by Daniel Kassai
The transition to CodeWarrior on OS X from VS/XP has been 'interesting' and a little time consuming.
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.
I'm just right-mousing the GRC file in CodeWarrior and clicking on Compile.
The GRC files in the Mac dev kit compile just fine. So do the ones created by "New | Graphisoft Add-on".
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. This shouldn't cause the GRC compiler to crash, though, should it?!!
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.
I've reported this intolerance of CRLF sequences as a bug.
PS Here's part of what I get from the Mac bug reporter after the crash: