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 

No warning when one should be given

 
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: 609
Location: Morrison, CO, USA

PostPosted: Sun Aug 18, 2019 7:27 pm    Post subject: No warning when one should be given Reply with quote

The following code (with comments) illustrates the issue. Assigning to an INTEGER, a CHARACTER is permitted, and generates a warning in the executable code, but no warning in the variable declarations. I found this originally in my TYPE, and extended the "missing warning" through a few more examples here.

Code:

    type:: abcd
    sequence
    integer::   defg=' ' ! no warnings
    end type
    type (abcd):: wxyz
    integer:: i='B' ! no warnings
    i=' ' ! warning 362 during compile
    write(*,90000)wxyz%defg ! prints "20202020"
90000   format(z8.8)
    end   
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Mon Aug 19, 2019 6:56 am    Post subject: Reply with quote

Thank you for the feedback. I have made a note that this needs fixing.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Tue Aug 20, 2019 2:22 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
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