-
Notifications
You must be signed in to change notification settings - Fork 7
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
Many Warnings with Clang 4.0.1 on OSX #27
Comments
Hi Axel! Happy to clean this up, but likely I need to be able to reproduce to know it's better. I have easy access to OSX 10.14.6, and am not seeing these errors with Apples Clang 11.0.0. But I know that Apples versioning isn't synced with Clang's. Suggestions on how I can reproduce this? |
Hi and thanks for your help! The compiler complains about Probably that missing cast is all that is missing, the implementation detail that As a side note, I see the |
So, yes, I see what would seem to be the nature of the issue in the warnings your getting. What I'm quite curious about is why I'm not seeing these particular warnings, not to avoid fixing it, but really to make sure there's not something else going on too. I loaded clang-9, rather than using the XCode version, and verified that __darwin_suseconds_t is indeed int32, but still no warnings. |
It might be the specific compile flags, the build on conda-forge above uses
so specifically |
Hmm. EVPath is all C, not C++, so I wouldn't think those flags would actually be applied even in the ADIOS2 build, though of course something else, like in CFLAGS, might be causing it. I've pushed a change into EVPath that seems to fix the TRACE_TIME_PRINTDETAILS warnings (at least when I force the use of clock_gettime). Probably what I should do is to create conda recipes for EVPath (and all its dependencies in GTKorvo) to try to sort things out more directly. But that might be a longer-term thing. Short term, I'll do a PR to pull these changes into ADIOS2 and hopefully we can see where that leaves us. |
OK, the PR containing the tweak to the TRACE_TIME_PRINTDETAILS has been merged with ADIOS2 master. Hopefully it cleans this stuff up for you. (I'm poking at Conda with the GTkorvo software stack each as separate packages, which would help get this sorted out a bit more directly.) |
It's #28 I guess? Thanks a lot! I will close this now and re-open if this should re-appear. |
EVPath 4.4.0 throws a lot of noisy warnings in ADIOS 2.5.0 when compiled with Clang 4.0.1 on OSX (Apple-Darwin13.4.0).
Reference: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=76704 in conda-forge/adios2-feedstock#8
Related to, but not causing the build error in ornladios/ADIOS2#1804
Compiler: Clang 4.0.1 on Apple-Darwin13.4.0
Generated warnings from
-Wformat
, dominantly inCMtrace_out
functions and formatters: warnings.txtThe text was updated successfully, but these errors were encountered: