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
FAILED: src/CMakeFiles/libavrdude.dir/serbb_win32.c.obj
C:\msys64\clangarm64\bin\clang.exe -DCONFIG_DIR=\"/clangarm64/etc\" -IC:/M/B/src/build-CLANGARM64/src -IC:/M/B/src/avrdude-8.0 -IC:/M/B/src/build-CLANGARM64 -IC:/M/B/src/avrdude-8.0/src -O2 -pipe -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong -Wp,-D__USE_MINGW_ANSI_STDIO=1 -IC:/msys64/clangarm64/include/libusb-compat -O3 -DNDEBUG -std=gnu11 -Wall -Wextra -Wno-unused-parameter -Wno-format-zero-length -MD -MT src/CMakeFiles/libavrdude.dir/serbb_win32.c.obj -MF src\CMakeFiles\libavrdude.dir\serbb_win32.c.obj.d -o src/CMakeFiles/libavrdude.dir/serbb_win32.c.obj -c C:/M/B/src/avrdude-8.0/src/serbb_win32.cC:/M/B/src/avrdude-8.0/src/serbb_win32.c:294:3: error: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration] 294 | mmt_free(pgm->cookie); | ^C:/M/B/src/avrdude-8.0/src/avrdude.h:46:21: note: expanded from macro 'mmt_free' 46 | #define mmt_free(p) free(p) | ^C:/M/B/src/avrdude-8.0/src/serbb_win32.c:294:3: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'C:/M/B/src/avrdude-8.0/src/avrdude.h:46:21: note: expanded from macro 'mmt_free' 46 | #define mmt_free(p) free(p)
I've fixed it via this for now:
The text was updated successfully, but these errors were encountered: