Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Line numbers in the report incorrect #29

Closed
arjenmarkus opened this issue Sep 6, 2016 · 2 comments
Closed

Line numbers in the report incorrect #29

arjenmarkus opened this issue Sep 6, 2016 · 2 comments

Comments

@arjenmarkus
Copy link

Several issues with the output of OFC on the attached source file. Also included the output of the analysis.

The line numbers are incorrect. For instance:

Warning:volterra_627.f:741,15:
Implicit cast may be lossy.
ACC = -DLOG10(DABS(DIFF))

In the original source file this statement appears on line 371.

The warning about "END":

Warning:volterra_627.f:811,6:
Implicit PROGRAM statement
END
^
seems related to line 406 - the end of the main program.

Could it be that the line number reported is actually twice the line number - 1?

Could it be that this has to do with the fact that the source file contains Windows' CRLF line endings, while the program was run on Cygwin?

output.zip

@ctgriffiths
Copy link
Contributor

You are correct we didn't support windows line endings when working out the error position in the original source file. I've pushed a fix for this and tested it on cygwin: f78fe94

Thanks for reporting this!

@arjenmarkus
Copy link
Author

Wonderful - these differences in line endings have been a nuisance for a
long time.

2016-09-07 11:51 GMT+02:00 Craig Griffiths notifications@github.com:

You are correct we didn't support windows line endings when working out
the error position in the original source file. I've pushed a fix for this
and tested it on cygwin: f78fe94
f78fe94

Thanks for reporting this!


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#29 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABvsR6B5q4ySOOElJhbt2frIeOwoHzwSks5qnokSgaJpZM4J2DYI
.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants