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 warning message

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





PostPosted: Mon Dec 05, 2005 7:24 am    Post subject: compiler warning message Reply with quote

Please note the spurious warning message given when the following code is compiled:


MODULE m
CONTAINS
INTEGER FUNCTION f(a)
REAL, INTENT(IN) :: a
f=NINT(a)
END FUNCTION f
END MODULE m
!
PROGRAM p
USE m
IMPLICIT NONE
INTEGER, PARAMETER :: n=5
INTEGER :: i,j(n)
INTRINSIC COUNT,REAL
!
DO i=1,n
j(i)=i
END DO
WRITE(*,*)f(REAL(COUNT(j(1:n)>2)))
END PROGRAM p


Simon Mason

Back to top
PaulLaidler
Site Admin


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

PostPosted: Mon Dec 05, 2005 2:04 pm    Post subject: compiler warning message Reply with quote

Simon

Thanks for this. We will aim to investigate the problem.

Paul
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