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 

INTERFACE internal compiler error

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



Joined: 05 Jul 2006
Posts: 144

PostPosted: Tue May 05, 2015 10:20 am    Post subject: INTERFACE internal compiler error Reply with quote

The following code generates an internal compiler error. There is a coding error in line 5, where the argument to subroutine s is indicated as s rather than as i.

Code:

MODULE m
CONTAINS
 FUNCTION f(s)
  INTERFACE
   SUBROUTINE s (s)
    INTEGER :: i
   END SUBROUTINE s
  END INTERFACE
 END FUNCTION f
END MODULE m
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Tue May 05, 2015 1:04 pm    Post subject: Reply with quote

Thanks for the feedback. I have logged this for investigation.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Thu May 26, 2016 2:44 pm    Post subject: Reply with quote

The compiler will now report "S is not correctly defined".
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> General 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