Silverfrost Forums

Welcome to our forums

No warning when one should be given

18 Aug 2019 6:27 #24202

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.

    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   
19 Aug 2019 5:56 #24204

Thank you for the feedback. I have made a note that this needs fixing.

20 Aug 2019 1:22 #24210

This failure has now been fixed for the next release of FTN95.

Please login to reply.