intfiction.org

The Interactive Fiction Community Forum
It is currently Mon May 20, 2013 4:05 am

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Sun Jun 17, 2012 3:11 pm 
Offline

Joined: Sat Oct 24, 2009 8:24 pm
Posts: 5
I'm trying to use a compiler option defined in the System Manual:

Quote:
-Os stringFile - capture strings from all compiled source files into a text file called stringFile. Any existing file of the same name will be overwritten by the new string file. If this option is used, all of the strings in the program are captured to the given file, one string per line, with the enclosing quote marks removed. This option lets you pull out all of the text in a program so that you can run it through a spell checker, for example.

I'm doing this through the Workbench, in the Build -> Settings... window, in the Advanced tab under "additional command-line options". But compiling with this only produces an empty file (0 bytes in size) named whatever you called stringFile. The command shows up in the t3make report under the Debug Log, so it's being executed, but not in the way I expect. Other compiler options, such as -help, seem to work fine.

I might just be misinterpreting how this particular option works; either way, I would appreciate it if someone could point me in the right direction.


Top
 Profile Send private message  
 
PostPosted: Sun Jun 17, 2012 8:23 pm 
Offline

Joined: Tue Apr 27, 2010 1:02 pm
Posts: 797
Either it's broken or it's not working the way I expect either. Doing a clean build followed by a build with -Os results in an output file that contains only a handful of system strings, and none from my game code.

I've opened a bug report.


Top
 Profile Send private message  
 
PostPosted: Tue Jun 19, 2012 2:09 pm 
Offline

Joined: Tue Apr 27, 2010 1:02 pm
Posts: 797
This bug has been fixed for the next release. That's probably not far off since almost all the reported issues are now resolved.


Top
 Profile Send private message  
 
PostPosted: Wed Jun 20, 2012 8:05 pm 
Offline

Joined: Sat Oct 24, 2009 8:24 pm
Posts: 5
Great! Thanks for your help. :)


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


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
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group