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
Error is introduced with commit e37ceae
commit db5f927 compiles fine.
from file C:\Espressif\esp-idf\components\heap\multi_heap_platform.h #include <freertos/task.h> is removed and this caused the build failure.
Compile log:
In file included from C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c:27:0:
C:/Espressif/esp-idf/components/heap/multi_heap_platform.h:66:32: error: unknown type name 'TaskHandle_t'
#define MULTI_HEAP_BLOCK_OWNER TaskHandle_t task;
^
C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c:50:5: note: in expansion of macro 'MULTI_HEAP_BLOCK_OWNER'
MULTI_HEAP_BLOCK_OWNER
^
C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c: In function 'poison_allocated_region':
C:/Espressif/esp-idf/components/heap/multi_heap_platform.h:67:57: error: implicit declaration of function 'xTaskGetCurrentTaskHandle' [-Werror=implicit-function-declaration]
#define MULTI_HEAP_SET_BLOCK_OWNER(HEAD) (HEAD)->task = xTaskGetCurrentTaskHandle()
^
C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c:71:5: note: in expansion of macro 'MULTI_HEAP_SET_BLOCK_OWNER'
MULTI_HEAP_SET_BLOCK_OWNER(head);
^
C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c: In function 'multi_heap_get_block_owner':
C:/Espressif/esp-idf/components/heap/multi_heap_platform.h:68:42: warning: return makes pointer from integer without a cast [-Wint-conversion]
#define MULTI_HEAP_GET_BLOCK_OWNER(HEAD) ((HEAD)->task)
^
C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c:284:12: note: in expansion of macro 'MULTI_HEAP_GET_BLOCK_OWNER'
return MULTI_HEAP_GET_BLOCK_OWNER((poison_head_t*)multi_heap_get_block_address_impl(block));
^
cc1.exe: some warnings being treated as errors
make[1]: *** [/c/Espressif/esp-idf/make/component_wrapper.mk:286: multi_heap_poisoning.o] Fehler 1
The text was updated successfully, but these errors were encountered:
Error is introduced with commit e37ceae
commit db5f927 compiles fine.
from file C:\Espressif\esp-idf\components\heap\multi_heap_platform.h #include <freertos/task.h> is removed and this caused the build failure.
Compile log:
In file included from C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c:27:0:
C:/Espressif/esp-idf/components/heap/multi_heap_platform.h:66:32: error: unknown type name 'TaskHandle_t'
#define MULTI_HEAP_BLOCK_OWNER TaskHandle_t task;
^
C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c:50:5: note: in expansion of macro 'MULTI_HEAP_BLOCK_OWNER'
MULTI_HEAP_BLOCK_OWNER
^
C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c: In function 'poison_allocated_region':
C:/Espressif/esp-idf/components/heap/multi_heap_platform.h:67:57: error: implicit declaration of function 'xTaskGetCurrentTaskHandle' [-Werror=implicit-function-declaration]
#define MULTI_HEAP_SET_BLOCK_OWNER(HEAD) (HEAD)->task = xTaskGetCurrentTaskHandle()
^
C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c:71:5: note: in expansion of macro 'MULTI_HEAP_SET_BLOCK_OWNER'
MULTI_HEAP_SET_BLOCK_OWNER(head);
^
C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c: In function 'multi_heap_get_block_owner':
C:/Espressif/esp-idf/components/heap/multi_heap_platform.h:68:42: warning: return makes pointer from integer without a cast [-Wint-conversion]
#define MULTI_HEAP_GET_BLOCK_OWNER(HEAD) ((HEAD)->task)
^
C:/Espressif/esp-idf/components/heap/multi_heap_poisoning.c:284:12: note: in expansion of macro 'MULTI_HEAP_GET_BLOCK_OWNER'
return MULTI_HEAP_GET_BLOCK_OWNER((poison_head_t*)multi_heap_get_block_address_impl(block));
^
cc1.exe: some warnings being treated as errors
make[1]: *** [/c/Espressif/esp-idf/make/component_wrapper.mk:286: multi_heap_poisoning.o] Fehler 1
The text was updated successfully, but these errors were encountered: