Closed pmatos closed 7 years ago
This is regarding one of the warnings that both gcc and clang report:
gcc
clang
cc -std=c99 -Iinclude -pedantic -Werror -Wall -Os `pkg-config --cflags pango pangocairo libconfig gdk-pixbuf-2.0 alsa` -DVERSION=\"0.4.0-147-gce1dea3\" -D_POSIX_C_SOURCE=199309L -DYA_INTERNAL -DYA_DYN_COL -DYA_ENV_VARS -DYA_INTERNAL_EWMH -DYA_ICON -DYA_NOWIN_COL -DYA_MUTEX -DYA_VAR_WIDTH -DYA_BSPWM -c -o src/intern_blks/ya_intern.o src/intern_blks/ya_intern.c src/intern_blks/ya_intern.c:756:19: error: duplicate ‘const’ declaration specifier [-Werror=duplicate-decl-specifier] static const char const symbols[5] = {0, 'K', 'M', 'G', 'T'}; ^~~~~
Thanks!
This is regarding one of the warnings that both
gcc
andclang
report: