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 

inconsistent kind?

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



Joined: 05 Jul 2006
Posts: 268

PostPosted: Fri Mar 10, 2017 5:12 pm    Post subject: inconsistent kind? Reply with quote

The following program complains about inconsistent kind types when compiled in 64-bit mode, but not in 32-bit mode. The error message disappears if the pointer declaration is deleted or if it is not nullified, even though the pointer is not referenced anywhere.

Code:
Module m
  Type d
     Integer :: i
  End Type d
  Integer, Pointer :: j => Null()
!
Contains
!
 Subroutine s1 (ad)
  Type(d) :: ad
!
  Call s2 (ad%i)
  Return
 End Subroutine s1
!
 Subroutine s2 (i)
  Integer :: i
!
  Return
 End Subroutine s2
End Module m
[/code]
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Fri Mar 10, 2017 5:34 pm    Post subject: Reply with quote

I have made a note that this needs fixing.
Back to top
View user's profile Send private message AIM Address
PaulLaidler
Site Admin


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

PostPosted: Wed Mar 15, 2017 2:18 pm    Post subject: Reply with quote

This regression 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 -> 64-bit 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