- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi...
i have a couple of functions
ie
Subroutine mySubroutine (x,y,a,b,c)
.
.
stuff
.
.
end
and i call then with one of the arguments as a 2d array, and it tells me that there are a different number a paramaters....
ie..
call mySubroutine (l, m, n(i,j), o, p)
this is causing a linker error, but only a warning when i compile the .for file by itself....
any help...
thanks..
annex
i have a couple of functions
ie
Subroutine mySubroutine (x,y,a,b,c)
.
.
stuff
.
.
end
and i call then with one of the arguments as a 2d array, and it tells me that there are a different number a paramaters....
ie..
call mySubroutine (l, m, n(i,j), o, p)
this is causing a linker error, but only a warning when i compile the .for file by itself....
any help...
thanks..
annex
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The line you send looks OK -- but the problem is in another call in the same source file. When compiling, the compiler sees that mySubroutine is called with different number of actual arguments, but it doesn't know which is the right call, so it points you to one of lines. Only the linker later "sees" the definition of mySubroutine so it gives you "unresolved external symbol" error -- but unfortunately linker doesn't know in which line, so you'll have to find it yourself.
Jugoslav
Jugoslav

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page