8c57cadbe7
When `REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER` is defined and Re-ARM build is attempted, `u8g_fontutf8.cpp` includes `fontutils.h` which uses `abs()`. However, `abs()` is defined in `stdlib.h` which is not included in `fontutils.h`, so compile fails with an error. Include `stdlib.h` in `fontutils.h` so that `abs()` is defined before `u8g_fontutf8.cpp` needs to use it, resolving the compile error. Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com> |
||
---|---|---|
.. | ||
dogm | ||
language | ||
fontutils.cpp | ||
fontutils.h | ||
lcdprint.h | ||
lcdprint_hd44780.cpp | ||
lcdprint_u8g.cpp | ||
malyanlcd.cpp | ||
thermistornames.h | ||
u8g_fontutf8.cpp | ||
u8g_fontutf8.h | ||
ultralcd.cpp | ||
ultralcd.h | ||
ultralcd_common_HD44780.h | ||
ultralcd_impl_DOGM.h | ||
ultralcd_impl_HD44780.h |