There are many function conflict errors but here posting one. please guide to resolve this issue.
In file included from /Users/USER/Documents/phd_project/Application code/3in1_code_repo/trails/http_coap_mqtt_server/http_coap_mqtt_server.ino:24:
/Users/USER/Documents/Arduino/libraries/webserver/mem_manager.h:72:7: error: conflicting declaration of C function 'void pvPortMalloc(size_t)'
72 | void pvPortMalloc( size_t xWantedSize ) ;//ICACHE_FLASH_ATTR;
| ^~~~
In file included from /Users/USER/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/cores/esp8266/pgmspace.h:12,
from /Users/USER/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/cores/esp8266/Arduino.h:292,
from /private/var/folders/mk/x70t1tx91w178bk5123cv3yh0000gn/T/arduino/sketches/1C5C5214B62B574260D418DC3F6FD861/sketch/http_coap_mqtt_server.ino.cpp:1:
/Users/USER/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/tools/sdk/include/ets_sys.h:202:7: note: previous declaration 'void pvPortMalloc(size_t, const char, int)'
202 | void pvPortMalloc(size_t xWantedSize, const char file, int line) attribute((malloc, alloc_size(1)));
| ^~~~
There are many function conflict errors but here posting one. please guide to resolve this issue.
In file included from /Users/USER/Documents/phd_project/Application code/3in1_code_repo/trails/http_coap_mqtt_server/http_coap_mqtt_server.ino:24: /Users/USER/Documents/Arduino/libraries/webserver/mem_manager.h:72:7: error: conflicting declaration of C function 'void pvPortMalloc(size_t)' 72 | void pvPortMalloc( size_t xWantedSize ) ;//ICACHE_FLASH_ATTR; | ^
~~~ In file included from /Users/USER/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/cores/esp8266/pgmspace.h:12, from /Users/USER/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/cores/esp8266/Arduino.h:292, from /private/var/folders/mk/x70t1tx91w178bk5123cv3yh0000gn/T/arduino/sketches/1C5C5214B62B574260D418DC3F6FD861/sketch/http_coap_mqtt_server.ino.cpp:1: /Users/USER/Library/Arduino15/packages/esp8266/hardware/esp8266/3.1.2/tools/sdk/include/ets_sys.h:202:7: note: previous declaration 'void pvPortMalloc(size_t, const char, int)' 202 | void pvPortMalloc(size_t xWantedSize, const char file, int line) attribute((malloc, alloc_size(1))); | ^~~~