-
Notifications
You must be signed in to change notification settings - Fork 59
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
<limits> std::numeric_limits include error. #47
Comments
Ah, thanks for catching this! I don't think I've tested with that compiler/platform combination yet. I've been meaning to upgrade I wonder if it might work to |
A better fix (which works) is to use
#include <limits>
instead of
#include <limits.h>
in the same place, which (I think) will allow you to turn the
deprecated header warning back on again.
Regards,
Robin Davies.
…On Wed, Feb 16, 2022 at 4:23 AM jatinchowdhury18 ***@***.***> wrote:
Ah, thanks for catching this! I don't think I've tested with that
compiler/platform combination yet.
I've been meaning to upgrade xsimd at some point, but I've been putting
it off a little bit, since they made some changes to the API that will take
some time to get familiar with.
I wonder if it might work to #include <limits> in an RTNeural header
before including xsimd? I've made a test branch
<https://github.com/jatinchowdhury18/RTNeural/compare/include-limits-fix>
with that change if you'd like to test it out.
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXK2DC7RXM64S3GEIA66DTU3NUHLANCNFSM5OPTUTGA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Ah, good call! I had tried to do that at first, but was getting an error. Must have spelled it wrong or something silly. I'll get that merged shortly. Thanks, |
Thank you for the prompt turnaround.
…On Wed, Feb 16, 2022 at 11:53 AM jatinchowdhury18 ***@***.***> wrote:
Closed #47 <#47> via
#49 <#49>.
—
Reply to this email directly, view it on GitHub
<#47 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACXK2DHQ4AG2OY3RQE4N273U3PJBTANCNFSM5OPTUTGA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Edit:
Not such a trivia fix. The issue is in xsimd include files. xsimd has a fix for the issue. You need to update the github submodule reference to -- I'm not sure what.
An include error on g++-11 ARM AARCH64 builds.
You need to add
#include <limits>
somewhere appropriate. fwiw, this seems to be a recurrent problem on this platform. There has been some change to implicit std c++ includes on this platform that avoids needlessly including somewhere.The obvious completely trivial workaround: add
#include <limits>
before includingRTNeural/RTNeural.h
.Apologies in advance for not pushing a trivial fix myself, but I have the project checked out as a git submodule, and I'm not sure I can push the change safely.
The text was updated successfully, but these errors were encountered: