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 

unexpected error message

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



Joined: 16 Feb 2006
Posts: 2385
Location: Sydney

PostPosted: Sun Jun 12, 2022 2:55 pm    Post subject: unexpected error message Reply with quote

I am using plato Ver 5.5.0 18/06/2021 ( actually 8/02/2022 )
FTN95 Ver 8.80.0 5/07/2021

I am getting an unexpected "warning 12899 - Procedure expected for argument LINE"

However if I turn buildlog into buildlg.bat and run outside plato, I don't get the message

Code:
!  get_next_line.f90
  subroutine get_next_line ( line, iostat, nc, nf )
   character :: line*132
   integer*4 :: iostat, nc, nf
!
     read ( 11, fmt='(a)', iostat=iostat ) line
       if ( iostat < 0 ) return

     if ( line(1:1) == '!'  .or.  &
          line(1:1) == '#' ) then
        nc = nc+1
        write (*,*) trim(line)
        iostat = 1
        return
     end if

     if ( line(89:89) /= '!' ) then
        nf = nf+1
        write (*,*) 'inexpected type descriptor in following line'
        write (*,*) trim(line)
        iostat = 2
        return
     end if

  end subroutine get_next_line


Code:
rem buildlg.bat
FTN95.EXE "D:\Work\wanda_new\X1AB\get_next_line.f90" /NO_BANNER /VS7 /DELETE_OBJ_ON_ERROR /ERROR_NUMBERS /UNLIMITED_ERRORS /CHECKMATE


My ftn95.cfg is
Code:
/ERROR_NUMBERS
/ECHO_OPTIONS
/IMPLICIT_NONE
/INTL
/LOGL


I have been annoyed about the false warning for a while, but just now tried to track it down.
Interesting that buildlg.bat doesn't report, but select Compile in Plato I do get the warning.

I don't appear to be able to copy from the Plato output window.
Reports for both win32 and x64 and for
checkmate / debug / release

Finally noticed Plato.exe is in more recent path selection, so will check further, as to what FTN95 is in use.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Mon Jun 13, 2022 7:30 am    Post subject: Reply with quote

John

Warning 1289 is a recent addition to FTN95 and I don't get it (for your code) when using the latest version of FTN95.

You seem to be accessing different versions of FTN95 (in and out of Plato).
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 -> Plato 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