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
Patch 1.49.3 for geodesic package. #868
Conversation
The setting of the flags for the Intel compiler has been tested on Linux only (cmake + autoconf). I've specified the right flag for the Intel compiler on Windows (with cmake), but I haven't tested this. |
This is actually not for cppcheck but for clang static analyzer, for which I don't know how to put suppressions as annotations in the code. This was so immediately obvious to me that the test is unnecessary. CSA is probably confused by the line "outmask &= l->caps & OUT_ALL;" which modifies the flags, but as and masking can only remove a bit, indeed the current code is correct, but it needs a (too) clever brain to realize it. I'd vote to let the additional check. If not, some exception should be added in the last line of travis/csa/install.sh |
@rouault OK, I'll let it be. Maybe I'll change the comment to put the blame on CSA. (You'll see that I did the same with the initial assignments. Perhaps you can check that I blamed the right party!) |
but I doubt this will fix the build failures on the CI machines.
I can't easily debug the configuration failures on the CI machines. |
You need to add the file defining the |
cherry-picked into 5.0 branch |
Set flags for Intel compiler to prevent incorrect optimization of
arithmetic expressions #826. Guard against nans in sincosdx #843.
Issue #831 is not addressed here (need more information...).
@kbevers and @rouault I flagged some of the changes made to
satisfy cppcheck, e.g.,
The outmask test makes the plat2 test unnecessary. So, if possible, I'd
like to back out of this change and revert to
Sorry not to have caught this earlier.