-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Add a patch to insert a static cast to the argument of std::abs #4313
Add a patch to insert a static cast to the argument of std::abs #4313
Conversation
…ke xlclang++ happy.
All green in build 1 (
|
Co-authored-by: Uilian Ries <[email protected]>
All green in build 2 (
|
As per #3903 I think we should wait to see if upstream accepts the patch before merging... this way it reduces our overhead. This issue spans a lot of versions which the same patch could be used as well... catchorg/Catch2@4bd2c3a |
Usually I'm not opposite of building patches, but @prince-chrismc comments makes sense. Catch2 releases new versions frequently and I think we could wait for a next one if they have a close date. |
All green in build 3 (
|
@prince-chrismc I agree, getting the patch merged upstream is important, and reduces CCI overhead. However, it will not fix the current version, which is why I also produced this PR. It's such a trivial change and clearly follows the patching guidelines. I could have patched older versions, but if a user needs this patch they can update to 2.13.4, so it didn't seem worthwhile. Would you like that done? |
This is what I wanted to see
This is absolute a build patch so it's acceptable, but I am no expert to say it's trivial which is why I wanted to delay to upstreams reaction. |
Add a patch to insert a static cast to the argument of std::abs to make IBM's xlclang++ happy.
Fixes issue #4312
Specify library name and version: catch2/2.13.4
conan-center hook activated.