Error Compiling espeak

Rob captinlogic at gmail.com
Sat Oct 1 18:59:14 EDT 2016


When I went to compile espeak from:
http://sourceforge.net/projects/espeak/files/espeak/espeak-1.48/espeak-1.48.04-source.zip
I got the following error
cd espeak-1.48.04-source/src
cp portaudio19.h portaudio.h
make
g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions  tr_languages.cpp
tr_languages.cpp:201:43: error: narrowing conversion of ‘194’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
 const char string_ordinal[] = {0xc2,0xba,0};  // masculine ordinal character, UTF-8
                                           ^
tr_languages.cpp:201:43: error: narrowing conversion of ‘186’ from ‘int’ to ‘char’ inside { } [-Wnarrowing]
make: *** [Makefile:102: tr_languages.o] Error 1

Any clue what's happening there? I saw a similar error on google, but no resolution. It seems to be compiler related.


More information about the Speakup mailing list