From f62b5838df23c73fb12f8b39e276de18c57e1d38 Mon Sep 17 00:00:00 2001 From: Simon John Date: Fri, 14 Feb 2014 15:25:29 +0000 Subject: Add -D__PROG_TYPES_COMPAT__ to the avr-g++ compiler flags This results in just a deprecated warning rather than an error when using libraries (e.g. jeelib) that still use prog_XXX types This is how the IDE does it, and means that libraries don't have to add the #define __PROG_TYPES_COMPAT__ line Reference: http://www.nongnu.org/avr-libc/user-manual/group__avr__pgmspace.html Fix #169 --- HISTORY.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'HISTORY.md') diff --git a/HISTORY.md b/HISTORY.md index 2a6c5a5..99711e5 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -7,7 +7,8 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it ### 1.3.2 (in development) - Fix: Add arduino-mk-vars.md file to RPM SPECfile. (https://github.com/sej7278) - Fix: Add avr-libc/malloc.c and realloc.c to included core files. Fixes issue #163 (https://github.com/sej7278) -- Fix: Add "gpio" to the list of isp that don't have a port. (Issue #165, #166) (@sej7278) +- Fix: Add "gpio" to the list of isp that don't have a port. (Issue #165, #166) (https://github.com/sej7278) +- Fix: Add "-D__PROG_TYPES_COMPAT__" to the avr-g++ compiler flags to match IDE. (https://github.com/sej7278) ### 1.3.1 (2014-02-04) - Fix: BUNDLED_AVR_TOOLS_DIR is now set properly when using only arduino-core and not the whole arduino package. (https://github.com/sej7278) -- cgit v1.2.3