Real Software Forums

The forum for Real Studio and other Real Software products.
[ REAL Software Website | Board Index ]
It is currently Thu Jan 18, 2018 10:53 pm
xojo

All times are UTC - 5 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Compiler Error
PostPosted: Sun Nov 11, 2012 12:45 am 
Offline

Joined: Sun Feb 14, 2010 11:19 pm
Posts: 213
Location: Australia
My project throws up a compiler error but only when it compiles for Mac. If I agree to the prompt to continue the resulting program seems to run fine.
It only does it with the Mac compile.
How do I track down where the error is?

Quote:
IDE Script Compile Error
Compiler Error: Error found while compiling [31] on line 0. Continue?


RS 2011 R4.3
Windows


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiler Error
PostPosted: Sun Nov 11, 2012 1:36 am 
Offline
User avatar

Joined: Mon Apr 02, 2007 2:08 am
Posts: 1225
Location: San Francisco, CA, USA
grechcj wrote:
It only does it with the Mac compile.
How do I track down where the error is?

Probably in the Build Automation->Mac OS X section on the project tab.

The IDE can have platform-specific build automation in the form of RBScripts. Error 31 has to do with calling a function without handling the return value. Errors on line 0 tend to be syntax errors on line 1 (YMMV). It may also be that the project file has minor damage (e.g. some exotic character got inserted as a Mac-only build-time script.)

_________________
Boredom Software


Top
 Profile  
Reply with quote  
 Post subject: Re: Compiler Error
PostPosted: Sun Nov 11, 2012 1:59 am 
Offline

Joined: Sun Feb 14, 2010 11:19 pm
Posts: 213
Location: Australia
That's It.
Added script in Mac Build Automation to codesign and forgot all about it.
Obviously it doesn't work.
Removed it and all OK now.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group