You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CC build/driver/rtc_module.o
/esp-idf/components/driver/./rtc_module.c: In function 'adc_convert':
/esp-idf/components/driver/./rtc_module.c:1245:12: error: 'adc_value' may be used uninitialized in this function [-Werror=maybe-uninitialized]
return adc_value;
^
cc1: some warnings being treated as errors
make[1]: *** [rtc_module.o] Error 1
make: *** [component-driver-build] Error 2
The text was updated successfully, but these errors were encountered:
Until it gets fixed, you can compile by setting "Assertion level" to anything but "Disabled" under "Compiler options".
IE. the -DNDEBUG seems to be the cause to the compilation error.
FayeY
changed the title
rtc_module.c compile error
[TW#20346] rtc_module.c compile error
Apr 16, 2018
while make all
CC build/driver/rtc_module.o
/esp-idf/components/driver/./rtc_module.c: In function 'adc_convert':
/esp-idf/components/driver/./rtc_module.c:1245:12: error: 'adc_value' may be used uninitialized in this function [-Werror=maybe-uninitialized]
return adc_value;
^
cc1: some warnings being treated as errors
make[1]: *** [rtc_module.o] Error 1
make: *** [component-driver-build] Error 2
The text was updated successfully, but these errors were encountered: