Skip to content

Fix warnings in hello-world.c

Created by: craigblackmore

Several tests are currently compiled with -w which was hiding some existing warnings and risks new warnings creeping in.

I changed hello world to build with -Wall -pedantic and found warnings in cv32/tests/core/custom/{hello-world,syscalls}.c. This PR fixes the hello-world.c warnings only. I have not touched the warnings in cv32/tests/custom/core/syscalls.c, because they are fixed in the new bsp cv32/bsp/syscalls.c (#120). Once tests start using the new bsp, these warnings will disappear.

This process should be repeated for the other tests.

Merge request reports

Loading