[已解决] cc1.exe: some warnings being treated as errorsby Yobooy_ » Mon Sep 13, 2021 11:01 am 描述:从STM32移植QRCODE库到ESP32,编译报错:警告被当做错误处理。 环境:1.windows7,编译器是eclipse (QRCODE库在KEIL上编译和运行没问题); 2.SDK是esp-idf-v4.3(无分支); 3.硬件ESP32-WROVER-...
cc1: all warnings being treated as errors报错处理 cmake时一切正常,make时产生了报错,并且解释为`cc1: all warnings being treated as errors` 一些网上的方法是在Makefile文件里删除`-Werror`, 但我的Makefile文件不存在这个选项。 我的解决方法: 在CMakeLists里寻找配置 '-Werror'的语句,将这些涉及的语句...
from include/linux/pci.h:25, from /home/nvme/nvmedirect/modules/nvmed-intr.c:2: include/linux/irqdesc.h: In function ‘irq_data_to_desc’: include/linux/irqdesc.h:101:26: error: dereferencing pointer to incomplete type return container_of(data->common, struct irq_desc, irq_common_data...
espressif-bot added the Status: Opened label Oct 31, 2023 github-actions bot changed the title cc1.exe: some warnings being treated as errors cc1.exe: some warnings being treated as errors (IDFGH-11353) Oct 31, 2023 Author baldhead69 commented Oct 31, 2023 I updated the mdns compon...
cc1: some warnings being treated as errors make[3]: *** [/home/user/rtl8188ce-linux-driver/rtl8192ce/trx.o] Error 1 make[2]: *** [module/home/user/rtl8188ce-linux-driver/rtl8192ce] Error 2 make[2]: Leaving directory /usr/src/linux-headers-3.13.0-24-generic' make[1]: *** ...