forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Checkmate vs Release - Error not consistent

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
wahorger



Joined: 13 Oct 2014
Posts: 1011
Location: Morrison, CO, USA

PostPosted: Thu Apr 22, 2021 7:11 pm    Post subject: Checkmate vs Release - Error not consistent Reply with quote

In the following code, if compiled with Checkmate 32, the error is flagged. It is not flagged in Release 32. I did a quick check of the other Plato options. None of the other compile/link options flag the error.

The code was compiled as FIXED FORMAT, wide source.

Code:

        integer i
j       i = i + 1
        end

The "J" in column 1 is in error; only checkmate 32 seems to pick it up. I know an "i" will do the same. I suspect anything but a "C" or "!" (or numbers) will also cause the compile error for /CHECKMATE, but not for /RELEASE.

I discovered this after deleting a section of code, and a "J" was left in column 1 of a real statement. I compile as both /CHECKMATE and /RELEASE, and noticed the flagging.
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7142
Location: Salford, UK

PostPosted: Fri Apr 23, 2021 7:30 am    Post subject: Reply with quote

Bill

Can you check this. I can't reproduce this fault.

Are you using a command line or Plato?

Are you using an FTN95 configuration file?
Back to top
View user's profile Send private message AIM Address
wahorger



Joined: 13 Oct 2014
Posts: 1011
Location: Morrison, CO, USA

PostPosted: Fri Apr 23, 2021 2:55 pm    Post subject: Reply with quote

I originally found this while running on the command line, then ran this in Plato (what I posted). It is possible that there is a command line switch set incorrectly in , say, the Checkmate 64 since I don't use it often. That said, the command line running of the compiler uses the same basic switches, changing out only the /CHECKMATE for /RELEASE. All the line format options are definitely the same!

Here's a DropBox link to the Plato project.
https://www.dropbox.com/t/TlFOZ1QdQjqNg750
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7142
Location: Salford, UK

PostPosted: Fri Apr 23, 2021 5:09 pm    Post subject: Reply with quote

Bill

Your project settings include a significant number of command line options. Some of them are either redundant or not helpful.

The one that is causing the failure is /CFPP. I will make a note that this needs fixing.

I suggest that you start with the default options and only add those that you really need.
Back to top
View user's profile Send private message AIM Address
wahorger



Joined: 13 Oct 2014
Posts: 1011
Location: Morrison, CO, USA

PostPosted: Fri Apr 23, 2021 11:35 pm    Post subject: Reply with quote

Good point. This workspace I'm using is used for all problem reports, and so has "morphed" over the years.

I'll clean it up.

Bill
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


Joined: 21 Feb 2005
Posts: 7142
Location: Salford, UK

PostPosted: Mon Apr 26, 2021 1:54 pm    Post subject: Reply with quote

This failure has now been fixed for the next release of FTN95.
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group