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

Fix broken very verbose usage of proj (-V) fails on Windows #528

Merged
merged 1 commit into from
Jun 22, 2017

Conversation

kbevers
Copy link
Member

@kbevers kbevers commented Jun 22, 2017

On Windows in some combinations of nmake and Visual Studio the -V option in proj.exe is broken. It is due to checking the pj_errno variable before printing the verbose output. For some reason pj_errno is not initialized to zero and the check thinks an error happened in pj_fwd(). I haven't determined what the root cause is, but the problem can be circumvented by getting the error value from *pj_get_errno_ref().

Fixes #484.

… is not set correctly on some versions of VS. Fixes OSGeo#484.
@kbevers kbevers added this to the 4.9.4 milestone Jun 22, 2017
@kbevers kbevers merged commit 0bcfd26 into OSGeo:master Jun 22, 2017
@kbevers kbevers deleted the issue-484 branch October 4, 2017 14:52
@kbevers kbevers modified the milestones: 5.0.0-b, 5.0.0 Feb 1, 2018
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

Successfully merging this pull request may close these issues.

1 participant