replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: View topic - unexplained error message with FTN95 5.30
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 

unexplained error message with FTN95 5.30

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



Joined: 31 Mar 2008
Posts: 4

PostPosted: Tue Jun 02, 2009 7:51 am    Post subject: unexplained error message with FTN95 5.30 Reply with quote

Hello,

I have an unexplained error message compiling the following program.
The error message which follows relates to the line "B(i+1)%C(:) = 0.".
Intel Visual Fortran compiler 11.0.66 does not complain.
I would appreciate any help.

Thank you,

Yair

===================================

TYPE A
REAL, DIMENSION(2) :: C
END TYPE A

TYPE(A), DIMENSION(2) :: B

i = 1
B(i+1)%C(:) = 0.

END

===================================

Compiling file: muku.f90
D:\kuku\muku.F90(8) : error 256 - INTEGER expression expected in array bounds subscript
Compilation failed.
Back to top
View user's profile Send private message
PaulLaidler
Site Admin


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

PostPosted: Tue Jun 02, 2009 8:27 am    Post subject: Reply with quote

This is a compiler fault resulting from a regression at about version 3.4.
As a work-around you can write

B(i+1)%C = 0.

or

j=i+1
B(j)%C(Smile = 0.

"/ignore 256" does not do the trick.

We will aim to fix the problem for the next release.
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 Jun 11, 2009 8:11 am    Post subject: Reply with quote

This bug has been fixed for the next release.
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