Beginners: please read this post and this post before posting to the forum.
0 Members and 1 Guest are viewing this topic.
Audio/Text2Speech/../../rprintf.h:109:1: error: unknown type name 'prog_char'
Audio/Text2Speech/../../rprintf.h:109:6: note: expected 'const int *' but argument is of type 'const char *'
I'm using gcc-4.6.2 compiled from source. Is there a specific version I should be using?
CFLAGS = -DBUILDING_LIBRARY -Wall -Os -gdwarf-2 -std=gnu99 -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfieldsCPPFLAGS = -DBUILDING_LIBRARY -Wall -Os -gdwarf-2 -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields
CFLAGS = -D__PROG_TYPES_COMPAT__ -D__AVR_LIBC_DEPRECATED_ENABLE__ -DBUILDING_LIBRARY -Wall -Os -gdwarf-2 -std=gnu99 -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfieldsCPPFLAGS = -D__PROG_TYPES_COMPAT__ -D__AVR_LIBC_DEPRECATED_ENABLE__ -DBUILDING_LIBRARY -Wall -Os -gdwarf-2 -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields
In file included from Audio/Text2Speech/Text2Speech.h:107:0, from Audio/Text2Speech/phonemeWriter.c:31:Audio/Text2Speech/../../rprintf.h:100:1: warning: 'prog_char' is deprecated: prog_char type is deprecated. [-Wdeprecated-declarations]avr-gcc -D__PROG_TYPES_COMPAT__ -D__AVR_LIBC_DEPRECATED_ENABLE__ -DBUILDING_LIBRARY -Wall -Os -gdwarf-2 -std=gnu99 -fpack-struct -fshort-enums -funsigned-char -funsigned-bitfields -mmcu=atmega328p -MMD -MP -MF"build/atmega328p/Audio/Text2Speech/sound2noise.d" -MT"build/atmega328p/Audio/Text2Speech/sound2noise.d" -c -o"build/atmega328p/Audio/Text2Speech/sound2noise.o" "Audio/Text2Speech/sound2noise.c" In file included from Audio/Text2Speech/Text2Speech.h:107:0, from Audio/Text2Speech/sound2noise.c:29:Audio/Text2Speech/../../rprintf.h:100:1: warning: 'prog_char' is deprecated: prog_char type is deprecated. [-Wdeprecated-declarations]Audio/Text2Speech/sound2noise.c:46:16: error: variable 'SoundData' must be const in order to be put into read-only section by means of '__attribute__((progmem))'make[1]: *** [build/atmega328p/Audio/Text2Speech/sound2noise.o] Error 1make: *** [atmega328p] Error 2