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 

Error 374 while building the code

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



Joined: 04 Jan 2008
Posts: 14

PostPosted: Wed Apr 08, 2009 12:09 pm    Post subject: Error 374 while building the code Reply with quote

I am migrating a code from Fortran 90 lying in UNIX to Windows. When i try to build the project it is showing an error
rror 374 - The fourth argument (<number>) to FUNCTION_NAME is missing

Any help will be appreciated.

Thanks and Regards,
Ajith.
Back to top
View user's profile Send private message
brucebowler
Guest





PostPosted: Wed Apr 08, 2009 1:08 pm    Post subject: Reply with quote

Can you post a brief bit of code, like the declaration of the function and the line where it's called???
Back to top
AjithSivakumar



Joined: 04 Jan 2008
Posts: 14

PostPosted: Wed Apr 08, 2009 1:56 pm    Post subject: Reply with quote

Hi,

The function declaration is as follows

FUNCTION Function_Name(A,B)
INTEGER, DIMENSION(Smile, POINTER :: Function_Name
CHARACTER(LEN=*), DIMENSION(Smile, INTENT(IN) :: A
CHARACTER(LEN=*), INTENT(IN) :: find
.
.
.
.
END FUNCTION Function_Name

Called inside a subroutine

SUBROUTINE ABC(C,D,E)
INTEGER, DIMENSION(Smile, POINTER :: XYZ
.
.
.
XYZ => Function_Name("two arguments are passed here")
END SUBROUTINE
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 -> General 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