- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could I use the inlining function to get the user override a subroutine defined in a static library with anther one he has. In other words I have a subroutine that is defined in the static library and a user subroutine and I would like to use the one in the user subroutines not the one in the library , when I did the linking(/force) the project recognize the existence of the two definations of the subroutine and gave me a warrning that he will ignor the one defined in the library but due to the auomatic inlining intel fortran has the project use the one in the library not the one in the user subroutines.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You can't depend on this. In the example you showed us in your other thread, the caller of the library routine was in the library - so inlining there won't help you. I recommended what will work in your other thread. You're not going to find any automatic solution to this.

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