chipsalliance / espresso

34 stars 14 forks source link

Fix all compiling warnings with clang #3

Closed sinofp closed 3 years ago

sinofp commented 3 years ago

https://github.com/sequencer/espresso/pull/2 only tested with gcc, but clang emits even more warnings.

So this time I fixed clang’s warnings, and added a GitHub Action with CFLAGS="-std=c99 -Wpedantic -Wall -Werror" to ensure there will be no warnings in the future.

sequencer commented 3 years ago

Good job!