Guest User

OOM DEBUG COMPILATION ERROR

a guest
Aug 10th, 2018
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.58 KB | None | 0 0
  1. Users/rushikesh/Library/Arduino15/packages/esp8266/hardware/esp8266/2.4.2/cores/esp8266/umm_malloc/umm_malloc_cfg.h:183:43: error: mem_debug_file causes a section type conflict with mem_debug_file
  2.  #define realloc(p,s) ({ static const char mem_debug_file[] ICACHE_RODATA_ATTR STORE_ATTR = __FILE__; realloc_loc(p, s, mem_debug_file, __LINE__); })
  3.                                            ^
  4. /Users/rushikesh/Library/Arduino15/packages/esp8266/hardware/esp8266/2.4.2/tools/sdk/include/mem.h:45:20: note: in expansion of macro 'realloc'
  5.  #define os_realloc realloc
  6.                     ^
  7. /Users/rushikesh/Google Drive/PDINQ Rushikesh Patel/MyCode.ino:6033:25: note: in expansion of macro 'os_realloc'
  8.     char * temp = (char*)os_realloc(buffer,BUFFERSIZE + 2);
  9.                          ^
  10. In file included from /Users/rushikesh/Library/Arduino15/packages/esp8266/hardware/esp8266/2.4.2/cores/esp8266/Arduino.h:307:0,
  11.                  from /Users/rushikesh/Documents/Arduino/libraries/DS3231/DS3231.h:25,
  12.                  from /Users/rushikesh/Google Drive/PDINQ Rushikesh Patel/MyCode.ino:219:
  13. /Users/rushikesh/Library/Arduino15/packages/esp8266/hardware/esp8266/2.4.2/cores/esp8266/umm_malloc/umm_malloc_cfg.h:181:40: note: 'mem_debug_file' was declared here
  14.  #define malloc(s) ({ static const char mem_debug_file[] ICACHE_RODATA_ATTR STORE_ATTR = __FILE__; malloc_loc(s, mem_debug_file, __LINE__); })
  15.                                         ^
  16. /Users/rushikesh/Documents/Arduino/libraries/ArduinoJson/src/ArduinoJson/DynamicJsonBuffer.hpp:26:12: note: in expansion of macro 'malloc'
  17.      return malloc(size);
Add Comment
Please, Sign In to add comment