-
Notifications
You must be signed in to change notification settings - Fork 217
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
Minor issue: daal produces lots of warnings in pedantic modes #353
Comments
Thanks a lot @SmirnovEgorRu for the positive feedback! I hope the issue is not causing hazzle, and its not very urgent. But we're looking forward if something can be improved! |
Awesome @dr-pain, thanks! I'm currently using the binaries from official Intel, so I'll have to wait a bit for the 2020 Update 1. But I will happily close the issue as fixed! Thanks! |
Hello @emmenlau ! |
Ok I'll check them out! Will they be released as binary download for all platforms too (like the current Intel downloads from the official website), or are these source releases? |
yes, we have binary releases for 2021. |
Thanks Andrey! I'm really sorry and I feel very stupid to ask this, but: could you point me to the binary download for 2021? I've considered
But in all cases, I do not see anything to download for 2021, neither classic DAAL nor oneDAL. I did not consider oneAPI KIT package because we're not ready for this yet, but anything else. Am I doing something wrong? |
I |
Describe the bug
This is not really a bug, rather a suggestion for an improvement. The issue is that when we include DAAL 2019.5 headers, we get a huge number of compiler warnings on all platforms.
This is due to our strict compiler settings, like
-Wall -Wextra -pedantic
on Linux and/W4
on Windows. It seems DAAL can currently not be used nicely with such strict compiler settings, because we get thousands of lines of warnings. This makes our work a bit more complicated because our internal code review requests warning-free code.Most warnings seem quite simple to fix. For example there are many cases of extra
;
that could be removed.To Reproduce
Steps to reproduce the behavior:
-pedantic -Wall -Wextra -Werror=return-type -Werror=uninitialized -Werror=unknown-pragmas
or Windows compiler warnings to/W4
Expected behavior
Ideally, DAAL would only show a few or now warnings at all.
Output/Screenshots
Here an example from Ubuntu 18.04 x86_64 with
gcc-7.4.0
:Environment:
The text was updated successfully, but these errors were encountered: