Closed odin- closed 3 months ago
Thanks - just pushed a change that should fix these, although with compiler warnings there's always a risk of being sensitive to compiler version. We'll try and improve test coverage.
Great. I'll try it out.
Your commit solved everything, except below. Thank you!
Perhaps this one is a bit picky:
../../csal/src/cs_stub_devmemd.c:200: warning: ISO C forbids an empty translation unit [-Wpedantic]
What options are you using? build/makefile
only adds cs_stub_devmemd.c
to the sources when DEVMEMD=1, and that should cause the translation unit to be non-empty. It might be better if cs_stub_devmemd.c
had an #error
if compiled without DEVMEMD=1 rather than just being empty.
DEVMEMD=1 triggers some more compiler warnings, so I'll fix those.
Ah great. I've wrapped CSAL in our own bare metal test environment so I just included all source code files. I've removed cs_stub_devmemd and the warning was silenced. Thanks.
You can close this issue as resolved.
Thanks. I'll see if we can make it so it is possible to just compile source/*.c
and have it go through without warnings.
I've just pushed another change that fixes some warnings specific to DEVMEMD=1.
Compiler:
Building using
Makeflags:
Warnings: