replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - Compiler fails to find errors in TYPE (WIN32)
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 

Compiler fails to find errors in TYPE (WIN32)

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

PostPosted: Sat Jul 20, 2019 2:54 pm    Post subject: Compiler fails to find errors in TYPE (WIN32) Reply with quote

I stumbled across this quite by accident as I was adjusting the members of a TYPE.

The following code compiles without error with the data in the TYPE (bad, not expected), but fails if the data is outside of the TYPE (good, expected).

Code:

   type:: my_struct
    character*16,pointer::   abcd
    character*16::         defg
    end type

    type (my_struct):: wxyz
   
    character*16,pointer::   abcd
    character*16::      defg
    character*16,target::   my_data

    wxyz%abcd => my_data ! should work
    wxyz%defg => my_data ! should fail error 422 - The left hand side of the pointer assignment does not have the POINTER attribute

    abcd => my_data      ! should work
    defg => my_data      ! fails with error 422 - The left hand side of the pointer assignment does not have the POINTER attribute
   end
Back to top
View user's profile Send private message Visit poster's website
wahorger



Joined: 13 Oct 2014
Posts: 1257
Location: Morrison, CO, USA

PostPosted: Tue Jul 23, 2019 1:28 pm    Post subject: Reply with quote

Dropped through the cracks, perhaps?
Back to top
View user's profile Send private message Visit poster's website
PaulLaidler
Site Admin


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

PostPosted: Tue Jul 23, 2019 4:38 pm    Post subject: Reply with quote

Thanks. No, it's just that I have been out of office for a few days.

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: 8210
Location: Salford, UK

PostPosted: Thu Jul 25, 2019 3:48 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 AIM Address
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