karawin / KaRadio32_4

KaRadio32 for ESP-IDF 4.4
36 stars 13 forks source link

error: 'Ct855' defined but not used [-Werror=unused-const-variable=] #5

Open Kingwulin opened 2 years ago

Kingwulin commented 2 years ago

Hi,when build the code it notes fail like below,would you please give me a hand

/home/king5/code/esp-idf/components/fatfs/src/ff.c:541:19: error: 'Ct855' defined but not used [-Werror=unused-const-variable=] static const BYTE Ct855[] = TBL_CT855; ^~~~~ cc1: some warnings being treated as errors [867/1372] Building C object esp-idf/expat/CMakeFiles/__idf_expat.dir/expat/expat/lib/xmltok.c.obj ninja: build stopped: subcommand failed. ninja failed with exit code 1

And I am using the version below idf.py --version ESP-IDF v4.4.1-238-gae0e3e2e2a-dirty

git branch -av master 01d014c42d Merge branch 'contrib/github_pr_9062' into 'master'

Kingwulin commented 2 years ago

Hello,I am come again Why I meet some many error like "cc1: some warnings being treated as errors" that I had never meet in other project Need your help,Thanks

/home/king5/code/demo/KaRadio32_4/components/ucglib/csrc/ucg_dev_oled_128x128_univision.c:189:30: error: 'ucg_seps255_pos_dir0_seq' defined but not used [-Werror=unused-const-variable=] static const ucg_pgm_uint8_t ucg_seps255_pos_dir0_seq[] = ^~~~~~~~ /home/king5/code/demo/KaRadio32_4/components/ucglib/csrc/ucg_dev_oled_128x128_univision.c:44:30: error: 'aaa_ucg_univision_seps225_init_seq' defined but not used [-Werror=unused-const-variable=] static const ucg_pgm_uint8_t aaa_ucg_univision_seps225_init_seq[] = { ^~~~~~~~~~ cc1: some warnings being treated as errors