- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I compile this source with "ifort /real_size:64" I get a warning that doesn't seem right. Is there a problem with my code or the compiler?
module sf_interfaces
interface min_find
subroutine min_find(xin,fatx,xout)
real,INTENT(IN)::xin,fatx
real,INTENT(OUT)::xout
end subroutine
subroutine dmin_find(xin,fatx,xout)
double precision,INTENT(IN)::xin,fatx
double precision,INTENT(OUT)::xout
end subroutine
end interface
end module
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Your code.
With /real-size:64, the specific procedures are not distinguishable. How would the compiler know which one to call?
You could explicitly provide the kinds for the dummy arguments to avoid this, or also specify /double-size:128.
With /real-size:64, the specific procedures are not distinguishable. How would the compiler know which one to call?
You could explicitly provide the kinds for the dummy arguments to avoid this, or also specify /double-size:128.
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