- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When compiling a submodule I get some errors of the type.....
....ubs.f90: error #7257: The characteristics of the procedure's arguments differ from those of the same procedure's arguments that are redefined in the INTERFACE statement. [HWND]
The error is pretty clear cut, a simple type mismatch between the routine implementation and its interface. Some indication of line number would be nice. In a module full of windows API call wrappers spanning a few thousand lines of code the dummy arg variable Hwnd occurs quite a few times and I spent quite some time looking at all references to find the miscreant. If you click on the error it jumps to line 1 of the Fortran source file BTW.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you. I will try reproducing this and reporting to Development.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I recreated the errors and confirmed the "jump to error" behavior also. I submitted an enhancement request for including line number information in error #7257. In my test case, I found the error is also only issued once where multiple mismatches exists within the same file. As for the jump to behavior, the error in the Output pane is currently tagged to line #1 so the behavior seems expected/correct. I do not believe an underlying issue is present with this functionality and expect it to work once the error includes line number information; however, I submitted another internal tracking id to ensure we verify this once the line number is included.
(Internal tracking id: DPD200376097 - Enhance error #7257 to include the corresponding source code line number)
(Internal tracking id: DPD200376098 – "Jump to error" jumps to line 1 of affected source file related to ifort error #7257)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page