fuzziqersoftware/phosg-audio

Error when building

Closed this issue · 2 comments

v1993 commented
g++ -fPIC -std=c++14 -g -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H -Wall -Werror -I/usr/local/include -DLINUX   -c -o Audiocat.o Audiocat.cc
Audiocat.cc: In function ‘int main(int, char**)’:
Audiocat.cc:98:10: error: variable ‘fourier_width’ set but not used [-Werror=unused-but-set-variable]
   98 |   size_t fourier_width = 4096;
      |          ^~~~~~~~~~~~~

This should be fixed now (3030f6c). Curious that it didn't produce an error on my system...

v1993 commented

Thanks for fixing. I suppose that was just new GCC that introduced this warning.