jgabaut / helapordo

A roguelike terminal game, using ncurses.
https://jgabaut.github.io/helapordo-docs
GNU General Public License v3.0
15 stars 0 forks source link

[BUG] nc-1.4.1 Build fails on clang #73

Closed jgabaut closed 5 months ago

jgabaut commented 5 months ago

When trying to build nc-1.4.1 with clang an error occurs (given we have -Werror):

./sprites4curses/s4c-animate/animate.c:245:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int s4c_check_has_colors() {
                        ^
                         void
./sprites4curses/s4c-animate/animate.c:252:31: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]
int s4c_check_can_change_color() {
                              ^
                               void
2 warnings generated.

Related issue: link.