我正在使用VSCode和ESP-IDF来编程Arduino。一些Arduino库文件正在生成警告,如下所示。/Users/sr/projects/gcp-iot/components/arduino/libraries/WiFi/src/WiFiScan.cpp:45:21: warning: 'constwarning: variable 'err' set but not used [-Wu
最近,我一直致力于消除代码中的警告,并逐渐熟悉了GCC警告标志(如-Wall、-Wno-<warning to disable>、-fdiagnostics-show-option等)。然而,我还不能想出如何禁用(甚至控制)链接器警告。> and (hidden) in <path/to/my/class.o>
我得到这个的原因是因为我使用的库是使用