Cook: espeak 1.45.05 ================================================================================ QA: checking package receipt... Checking build dependencies... Installing (pkg/local): alsa-lib-1.2.3-i486 Installing (pkg/local): libogg-1.3.3-i486 Installing (pkg/local): flac-1.3.3-i486 Installing (pkg/local): libdb-6.2.32-i486 Installing (pkg/local): libsamplerate-0.1.9-i486 Installing (pkg/local): libvorbis-1.3.6-i486 Installing (pkg/local): libsndfile-1.0.28-i486 Installing (pkg/local): jack-0.125.0-i486 Installing (pkg/local): portaudio-v19_20110326-i486 Installing (pkg/local): portaudio-dev-v19_20110326-any Installing (pkg/local): alsa-lib-dev-1.2.3-any Installing (pkg/local): db-6.2.32-i486 Installing (pkg/local): libdb-cxx-6.2.32-i486 Installing (pkg/local): db-dev-6.2.32-i486 Installing (pkg/local): libsamplerate-dev-0.1.9-any Installing (pkg/local): jack-dev-0.125.0-any Extracting source archive "espeak-1.45.05-source.zip" Executing: compile_rules CFLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CXXLAGS : -march=i486 -Os -pipe -mindirect-branch=thunk CPPFLAGS : -D_GLIBCXX_USE_C99_MATH=1 LDFLAGS : -Wl,-Os,--as-needed g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions speak.cpp g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions compiledict.cpp g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions dictionary.cpp g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions intonation.cpp g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions readclause.cpp g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions setlengths.cpp intonation.cpp: In function 'int calc_pitches2(int, int, int)': intonation.cpp:790:6: warning: variable 'continuing' set but not used [-Wunused-but-set-variable] int continuing = 0; ^~~~~~~~~~ intonation.cpp: In function 'void CalcPitches_Tone(Translator*, int)': intonation.cpp:944:15: warning: variable 'prev2_tph' set but not used [-Wunused-but-set-variable] PHONEME_TAB *prev2_tph; // 2 tones previous ^~~~~~~~~ dictionary.cpp: In function 'int Unpronouncable(Translator*, char*, int)': dictionary.cpp:835:7: warning: variable 'apostrophe' set but not used [-Wunused-but-set-variable] int apostrophe=0; ^~~~~~~~~~ compiledict.cpp: In function 'int compile_line(char*, char*, int*)': compiledict.cpp:393:8: warning: variable 'comment' set but not used [-Wunused-but-set-variable] char *comment; ^~~~~~~ dictionary.cpp: In function 'void SetWordStress(Translator*, char*, unsigned int*, int, int)': dictionary.cpp:1390:8: warning: variable 'prev_stressed' set but not used [-Wunused-but-set-variable] int prev_stressed; ^~~~~~~~~~~~~ dictionary.cpp:1126:6: warning: variable 'post_tonic' set but not used [-Wunused-but-set-variable] int post_tonic; ^~~~~~~~~~ compiledict.cpp: In function 'char* compile_rule(char*)': compiledict.cpp:1163:6: warning: variable 'pre_bracket' set but not used [-Wunused-but-set-variable] int pre_bracket=0; ^~~~~~~~~~~ dictionary.cpp: In function 'int TranslateRules(Translator*, char*, char*, int, char*, int, unsigned int*)': dictionary.cpp:2428:21: warning: variable 'c123' set but not used [-Wunused-but-set-variable] unsigned int c12, c123; ^~~~ dictionary.cpp:2430:6: warning: variable 'wc_prev' set but not used [-Wunused-but-set-variable] int wc_prev; ^~~~~~~ dictionary.cpp: In function 'const char* LookupDict2(Translator*, const char*, const char*, char*, unsigned int*, int, WORD_TAB*)': dictionary.cpp:3206:17: warning: variable 'flags1' set but not used [-Wunused-but-set-variable] unsigned int flags1 = 0; ^~~~~~ speak.cpp: In function 'void DisplayVoices(FILE*, char*)': speak.cpp:162:6: warning: variable 'scores' set but not used [-Wunused-but-set-variable] int scores = 0; ^~~~~~ speak.cpp: In function 'int main(int, char**)': speak.cpp:514:7: warning: variable 'dictname' set but not used [-Wunused-but-set-variable] char dictname[40]; ^~~~~~~~ readclause.cpp: In function 'int GetC()': readclause.cpp:475:16: warning: variable 'm' set but not used [-Wunused-but-set-variable] unsigned char m; ^ readclause.cpp: In function 'int ReadClause(Translator*, FILE*, char*, short int*, int*, int, int*, char*)': readclause.cpp:2097:6: warning: variable 'prev_announced_punctuation' set but not used [-Wunused-but-set-variable] int prev_announced_punctuation; ^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions numbers.cpp g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions synth_mbrola.cpp numbers.cpp: In function 'void LookupLetter(Translator*, unsigned int, int, char*, int)': numbers.cpp:509:8: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] char *ptr; ^~~ numbers.cpp: In function 'int LookupThousands(Translator*, int, int, int, char*)': numbers.cpp:1010:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if(!found_value & (number_control & 1)) ^~~~~~~~~~~~ numbers.cpp: In function 'int TranslateNumber_1(Translator*, char*, char*, unsigned int*, WORD_TAB*, int)': numbers.cpp:1584:6: warning: variable 'dot_ordinal' set but not used [-Wunused-but-set-variable] int dot_ordinal; ^~~~~~~~~~~ numbers.cpp:1589:6: warning: variable 'hyphen' set but not used [-Wunused-but-set-variable] int hyphen; ^~~~~~ numbers.cpp: In function 'int LookupThousands(Translator*, int, int, int, char*)': numbers.cpp:1007:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%do",value,thousandplex); ^~~~~~~~~ numbers.cpp:1007:20: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 25 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1013:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%de",value,thousandplex); ^~~~~~~~~ numbers.cpp:1013:20: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 25 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1019:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%dx",value,thousandplex); ^~~~~~~~~ numbers.cpp:1019:20: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 25 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1025:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%d",value,thousandplex); ^~~~~~~~ numbers.cpp:1025:19: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 24 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1043:20: warning: 'o' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%do",M_Variant(value), thousandplex); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 14) into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1049:20: warning: 'e' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%de",M_Variant(value), thousandplex); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 14) into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1055:20: warning: 'x' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%dx",M_Variant(value), thousandplex); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 14) into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1061:19: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%s%d",M_Variant(value), thousandplex); ^~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 13) into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1067:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(string,"_0M%d", thousandplex-1); ^~~~~~~ numbers.cpp:1067:21: note: directive argument in the range [3, 2147483646] In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp: In function 'int LookupNum2(Translator*, int, int, char*)': numbers.cpp:1155:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%d%cx",value,ord_type); // LANG=hu, special word for 1. 2. when there are no higher digits ^~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 13 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ synth_mbrola.cpp: In function 'int MbrolaTranslate(PHONEME_LIST*, int, int, FILE*)': synth_mbrola.cpp:416:16: warning: variable 'prev' set but not used [-Wunused-but-set-variable] PHONEME_LIST *prev; ^~~~ readclause.cpp: In function 'const char* LookupCharName(Translator*, int, int)': readclause.cpp:674:16: warning: '%s' directive writing up to 59 bytes into a region of size 52 [-Wformat-overflow=] sprintf(buf,"[\002_^_%s %s _^_%s]]","en",phonemes2,WordToString2(tr->translator_name)); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from readclause.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 15 and 78 bytes into a destination of size 60 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readclause.cpp:681:16: warning: '%s' directive writing up to 59 bytes into a region of size 58 [-Wformat-overflow=] sprintf(buf,"[\002%s]] ",phonemes2); ^~~~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from readclause.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 65 bytes into a destination of size 60 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp: In function 'int LookupNum3(Translator*, int, char*, int, int, int)': numbers.cpp:1434:26: warning: '%s' directive writing up to 19 bytes into a region of size between 1 and 50 [-Wformat-overflow=] sprintf(ph_thousands,"%s%s",ph_digits,ph_10T); ^~~~~~ ~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 1 and 69 bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1432:26: warning: '%s' directive writing up to 49 bytes into a region of size between 31 and 50 [-Wformat-overflow=] sprintf(ph_thousands,"%s%s",ph_10T,ph_digits); // say "thousands" before its number, not after ^~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 1 and 69 bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1458:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string, "_%dCo", hundreds); ^~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 13 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1458:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string, "_%dCo", hundreds); ^~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 13 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1478:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%dC0",hundreds); ^~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 13 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1502:16: warning: '%s' directive writing up to 49 bytes into a region of size between 40 and 100 [-Wformat-overflow=] sprintf(buf1,"%s%s%s%s",ph_thousands,ph_thousand_and,ph_digits,ph_100); ^~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 1 and 129 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions synthdata.cpp compiledict.cpp: In function 'int CompileDictionary(const char*, const char*, FILE*, char*, int)': compiledict.cpp:1879:19: warning: 'rules.txt' directive writing 9 bytes into a region of size between 6 and 195 [-Wformat-overflow=] sprintf(fname_in,"%srules.txt",path); ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from compiledict.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 10 and 199 bytes into a destination of size 195 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions synthesize.cpp g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions translate.cpp numbers.cpp: In function 'int TranslateLetter(Translator*, char*, char*, int)': numbers.cpp:675:19: warning: '%s' directive writing up to 59 bytes into a region of size between 40 and 59 [-Wformat-overflow=] sprintf(ph_buf2,"%c%s%s",0xff,capital,ph_buf); // the 0xff marker will be removed or replaced in SetSpellingStress() ^~~~~~~~ ~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 80 bytes into a destination of size 60 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:673:19: warning: '%s' directive writing up to 19 bytes into a region of size between 0 and 59 [-Wformat-overflow=] sprintf(ph_buf2,"%c%s%s",0xff,ph_buf,capital); ^~~~~~~~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 80 bytes into a destination of size 60 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readclause.cpp: In function 'int ReadClause(Translator*, FILE*, char*, short int*, int*, int, int*, char*)': readclause.cpp:597:20: warning: '%s' directive writing up to 54 bytes into a region of size 28 [-Wformat-overflow=] sprintf(text_out,"[\002%s]]",phonemes2); ^~~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from readclause.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 59 bytes into a destination of size 30 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions mbrowrap.cpp translate.cpp: In function 'int TranslateWord(Translator*, char*, int, WORD_TAB*)': translate.cpp:801:8: warning: variable 'ph_limit' set but not used [-Wunused-but-set-variable] char *ph_limit; ^~~~~~~~ translate.cpp: In function 'void* TranslateClause(Translator*, FILE*, const void*, int*, char**)': translate.cpp:2369:6: warning: variable 'prev_in2' set but not used [-Wunused-but-set-variable] int prev_in2=0; ^~~~~~~~ translate.cpp:2393:6: warning: variable 'individual_digits' set but not used [-Wunused-but-set-variable] int individual_digits; ^~~~~~~~~~~~~~~~~ synthesize.cpp: In function 'int Generate(PHONEME_LIST*, int*, int)': synthesize.cpp:1322:15: warning: variable 'prev_ph' set but not used [-Wunused-but-set-variable] PHONEME_TAB *prev_ph; ^~~~~~~ mbrowrap.cpp: In function 'int start_mbrola(const char*)': mbrowrap.cpp:126:10: warning: variable 'written' set but not used [-Wunused-but-set-variable] ssize_t written; ^~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions tr_languages.cpp g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions voices.cpp g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions wavegen.cpp translate.cpp: In function 'int TranslateWord(Translator*, char*, int, WORD_TAB*)': translate.cpp:1421:50: warning: '%s' directive output may be truncated writing up to 159 bytes into a region of size between 1 and 160 [-Wformat-truncation=] snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ^~~~~~~~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from translate.cpp:22: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 1 and 478 bytes into a destination of size 160 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ translate.cpp:1395:51: warning: '%s' directive output may be truncated writing up to 159 bytes into a region of size between 1 and 160 [-Wformat-truncation=] snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ^~~~~~~~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from translate.cpp:22: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 1 and 478 bytes into a destination of size 160 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp: In function 'voice_t* LoadVoice(const char*, int)': voices.cpp:535:7: warning: variable 'error' set but not used [-Wunused-but-set-variable] int error = 0; ^~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions phonemelist.cpp phonemelist.cpp: In function 'void MakePhonemeList(Translator*, int, int)': phonemelist.cpp:117:15: warning: variable 'prev' set but not used [-Wunused-but-set-variable] PHONEME_TAB *prev, *next, *next2; ^~~~ phonemelist.cpp:126:6: warning: variable 'first_vowel' set but not used [-Wunused-but-set-variable] int first_vowel=0; // first vowel in a word ^~~~~~~~~~~ voices.cpp: In function 'void GetVoices(const char*)': voices.cpp:1647:17: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] sprintf(fname,"%s%c%s",path,PATHSEP,ent->d_name); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from voices.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 250 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions klatt.cpp voices.cpp: In function 'voice_t* LoadVoice(const char*, int)': voices.cpp:584:15: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(buf,"%s%s",path_voices,voicename); ^~~~~~ In file included from /usr/include/stdio.h:873, from voices.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 1 and 201 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp:592:16: warning: '%s' directive writing up to 39 bytes into a region of size between 35 and 199 [-Wformat-overflow=] sprintf(buf,"%s%s%c%s",path_voices,langname,PATHSEP,voicename); ^~~~~~~~~~ ~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions sonic.cpp In file included from /usr/include/stdio.h:873, from voices.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 205 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp:597:17: warning: '%s' directive writing up to 39 bytes into a region of size between 33 and 194 [-Wformat-overflow=] sprintf(buf,"%sextra%c%s",path_voices,PATHSEP,voicename); ^~~~~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from voices.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 207 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp:602:18: warning: '%s' directive writing up to 39 bytes into a region of size between 34 and 195 [-Wformat-overflow=] sprintf(buf,"%stest%c%s",path_voices,PATHSEP,voicename); ^~~~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from voices.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 206 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions speak_lib.cpp -o x_speak_lib.o speak_lib.cpp: In function 'int dispatch_audio(short int*, int, espeak_EVENT*)': speak_lib.cpp:98:7: warning: variable 'event_data' set but not used [-Wunused-but-set-variable] int event_data=0; ^~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions compiledict.cpp -o x_compiledict.o compiledict.cpp: In function 'int compile_line(char*, char*, int*)': compiledict.cpp:393:8: warning: variable 'comment' set but not used [-Wunused-but-set-variable] char *comment; ^~~~~~~ compiledict.cpp: In function 'char* compile_rule(char*)': compiledict.cpp:1163:6: warning: variable 'pre_bracket' set but not used [-Wunused-but-set-variable] int pre_bracket=0; ^~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions dictionary.cpp -o x_dictionary.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions intonation.cpp -o x_intonation.o intonation.cpp: In function 'int calc_pitches2(int, int, int)': intonation.cpp:790:6: warning: variable 'continuing' set but not used [-Wunused-but-set-variable] int continuing = 0; ^~~~~~~~~~ intonation.cpp: In function 'void CalcPitches_Tone(Translator*, int)': intonation.cpp:944:15: warning: variable 'prev2_tph' set but not used [-Wunused-but-set-variable] PHONEME_TAB *prev2_tph; // 2 tones previous ^~~~~~~~~ dictionary.cpp: In function 'int Unpronouncable(Translator*, char*, int)': dictionary.cpp:835:7: warning: variable 'apostrophe' set but not used [-Wunused-but-set-variable] int apostrophe=0; ^~~~~~~~~~ dictionary.cpp: In function 'void SetWordStress(Translator*, char*, unsigned int*, int, int)': dictionary.cpp:1390:8: warning: variable 'prev_stressed' set but not used [-Wunused-but-set-variable] int prev_stressed; ^~~~~~~~~~~~~ dictionary.cpp:1126:6: warning: variable 'post_tonic' set but not used [-Wunused-but-set-variable] int post_tonic; ^~~~~~~~~~ dictionary.cpp: In function 'int TranslateRules(Translator*, char*, char*, int, char*, int, unsigned int*)': dictionary.cpp:2428:21: warning: variable 'c123' set but not used [-Wunused-but-set-variable] unsigned int c12, c123; ^~~~ dictionary.cpp:2430:6: warning: variable 'wc_prev' set but not used [-Wunused-but-set-variable] int wc_prev; ^~~~~~~ dictionary.cpp: In function 'const char* LookupDict2(Translator*, const char*, const char*, char*, unsigned int*, int, WORD_TAB*)': dictionary.cpp:3206:17: warning: variable 'flags1' set but not used [-Wunused-but-set-variable] unsigned int flags1 = 0; ^~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions readclause.cpp -o x_readclause.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions setlengths.cpp -o x_setlengths.o readclause.cpp: In function 'int GetC()': readclause.cpp:475:16: warning: variable 'm' set but not used [-Wunused-but-set-variable] unsigned char m; ^ readclause.cpp: In function 'int ReadClause(Translator*, FILE*, char*, short int*, int*, int, int*, char*)': readclause.cpp:2097:6: warning: variable 'prev_announced_punctuation' set but not used [-Wunused-but-set-variable] int prev_announced_punctuation; ^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions numbers.cpp -o x_numbers.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions synth_mbrola.cpp -o x_synth_mbrola.o compiledict.cpp: In function 'int CompileDictionary(const char*, const char*, FILE*, char*, int)': compiledict.cpp:1879:19: warning: 'rules.txt' directive writing 9 bytes into a region of size between 6 and 195 [-Wformat-overflow=] sprintf(fname_in,"%srules.txt",path); ^~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from compiledict.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 10 and 199 bytes into a destination of size 195 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions synthdata.cpp -o x_synthdata.o numbers.cpp: In function 'void LookupLetter(Translator*, unsigned int, int, char*, int)': numbers.cpp:509:8: warning: variable 'ptr' set but not used [-Wunused-but-set-variable] char *ptr; ^~~ numbers.cpp: In function 'int LookupThousands(Translator*, int, int, int, char*)': numbers.cpp:1010:7: warning: suggest parentheses around operand of '!' or change '&' to '&&' or '!' to '~' [-Wparentheses] if(!found_value & (number_control & 1)) ^~~~~~~~~~~~ numbers.cpp: In function 'int TranslateNumber_1(Translator*, char*, char*, unsigned int*, WORD_TAB*, int)': numbers.cpp:1584:6: warning: variable 'dot_ordinal' set but not used [-Wunused-but-set-variable] int dot_ordinal; ^~~~~~~~~~~ numbers.cpp:1589:6: warning: variable 'hyphen' set but not used [-Wunused-but-set-variable] int hyphen; ^~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions synthesize.cpp -o x_synthesize.o readclause.cpp: In function 'const char* LookupCharName(Translator*, int, int)': readclause.cpp:674:16: warning: '%s' directive writing up to 59 bytes into a region of size 52 [-Wformat-overflow=] sprintf(buf,"[\002_^_%s %s _^_%s]]","en",phonemes2,WordToString2(tr->translator_name)); ^~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from readclause.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 15 and 78 bytes into a destination of size 60 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ readclause.cpp:681:16: warning: '%s' directive writing up to 59 bytes into a region of size 58 [-Wformat-overflow=] sprintf(buf,"[\002%s]] ",phonemes2); ^~~~~~~~~~~~ ~~~~~~~~~ synth_mbrola.cpp: In function 'int MbrolaTranslate(PHONEME_LIST*, int, int, FILE*)': synth_mbrola.cpp:416:16: warning: variable 'prev' set but not used [-Wunused-but-set-variable] PHONEME_LIST *prev; ^~~~ In file included from /usr/include/stdio.h:873, from readclause.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 65 bytes into a destination of size 60 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp: In function 'int LookupThousands(Translator*, int, int, int, char*)': numbers.cpp:1007:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%do",value,thousandplex); ^~~~~~~~~ numbers.cpp:1007:20: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 25 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1013:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%de",value,thousandplex); ^~~~~~~~~ numbers.cpp:1013:20: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 25 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1019:20: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%dx",value,thousandplex); ^~~~~~~~~ numbers.cpp:1019:20: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 25 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1025:19: warning: '%d' directive writing between 1 and 11 bytes into a region of size between 0 and 9 [-Wformat-overflow=] sprintf(string,"_%dM%d",value,thousandplex); ^~~~~~~~ numbers.cpp:1025:19: note: directive argument in the range [-2147483647, 2147483647] In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 24 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1043:20: warning: 'o' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%do",M_Variant(value), thousandplex); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 14) into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1049:20: warning: 'e' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%de",M_Variant(value), thousandplex); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 14) into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1055:20: warning: 'x' directive writing 1 byte into a region of size between 0 and 10 [-Wformat-overflow=] sprintf(string,"_%s%dx",M_Variant(value), thousandplex); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 4 or more bytes (assuming 14) into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1061:19: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%s%d",M_Variant(value), thousandplex); ^~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 3 or more bytes (assuming 13) into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1067:21: warning: '%d' directive writing between 1 and 10 bytes into a region of size 9 [-Wformat-overflow=] sprintf(string,"_0M%d", thousandplex-1); ^~~~~~~ numbers.cpp:1067:21: note: directive argument in the range [3, 2147483646] In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 14 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp: In function 'int LookupNum2(Translator*, int, int, char*)': numbers.cpp:1155:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%d%cx",value,ord_type); // LANG=hu, special word for 1. 2. when there are no higher digits ^~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 13 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ synthesize.cpp: In function 'int Generate(PHONEME_LIST*, int*, int)': synthesize.cpp:1322:15: warning: variable 'prev_ph' set but not used [-Wunused-but-set-variable] PHONEME_TAB *prev_ph; ^~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions translate.cpp -o x_translate.o numbers.cpp: In function 'int LookupNum3(Translator*, int, char*, int, int, int)': numbers.cpp:1434:26: warning: '%s' directive writing up to 19 bytes into a region of size between 1 and 50 [-Wformat-overflow=] sprintf(ph_thousands,"%s%s",ph_digits,ph_10T); ^~~~~~ ~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 1 and 69 bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1432:26: warning: '%s' directive writing up to 49 bytes into a region of size between 31 and 50 [-Wformat-overflow=] sprintf(ph_thousands,"%s%s",ph_10T,ph_digits); // say "thousands" before its number, not after ^~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 1 and 69 bytes into a destination of size 50 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1458:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string, "_%dCo", hundreds); ^~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 13 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1458:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string, "_%dCo", hundreds); ^~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 13 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1478:21: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(string,"_%dC0",hundreds); ^~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 13 bytes into a destination of size 12 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:1502:16: warning: '%s' directive writing up to 49 bytes into a region of size between 40 and 100 [-Wformat-overflow=] sprintf(buf1,"%s%s%s%s",ph_thousands,ph_thousand_and,ph_digits,ph_100); ^~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 1 and 129 bytes into a destination of size 100 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions mbrowrap.cpp -o x_mbrowrap.o translate.cpp: In function 'int TranslateWord(Translator*, char*, int, WORD_TAB*)': translate.cpp:801:8: warning: variable 'ph_limit' set but not used [-Wunused-but-set-variable] char *ph_limit; ^~~~~~~~ readclause.cpp: In function 'int ReadClause(Translator*, FILE*, char*, short int*, int*, int, int*, char*)': readclause.cpp:597:20: warning: '%s' directive writing up to 54 bytes into a region of size 28 [-Wformat-overflow=] sprintf(text_out,"[\002%s]]",phonemes2); ^~~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from readclause.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 5 and 59 bytes into a destination of size 30 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ translate.cpp: In function 'void* TranslateClause(Translator*, FILE*, const void*, int*, char**)': translate.cpp:2369:6: warning: variable 'prev_in2' set but not used [-Wunused-but-set-variable] int prev_in2=0; ^~~~~~~~ translate.cpp:2393:6: warning: variable 'individual_digits' set but not used [-Wunused-but-set-variable] int individual_digits; ^~~~~~~~~~~~~~~~~ mbrowrap.cpp: In function 'int start_mbrola(const char*)': mbrowrap.cpp:126:10: warning: variable 'written' set but not used [-Wunused-but-set-variable] ssize_t written; ^~~~~~~ numbers.cpp: In function 'int TranslateLetter(Translator*, char*, char*, int)': numbers.cpp:675:19: warning: '%s' directive writing up to 59 bytes into a region of size between 40 and 59 [-Wformat-overflow=] sprintf(ph_buf2,"%c%s%s",0xff,capital,ph_buf); // the 0xff marker will be removed or replaced in SetSpellingStress() ^~~~~~~~ ~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 80 bytes into a destination of size 60 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ numbers.cpp:673:19: warning: '%s' directive writing up to 19 bytes into a region of size between 0 and 59 [-Wformat-overflow=] sprintf(ph_buf2,"%c%s%s",0xff,ph_buf,capital); ^~~~~~~~ ~~~~~~~ In file included from /usr/include/stdio.h:873, from numbers.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 80 bytes into a destination of size 60 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions tr_languages.cpp -o x_tr_languages.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions voices.cpp -o x_voices.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions wavegen.cpp -o x_wavegen.o translate.cpp: In function 'int TranslateWord(Translator*, char*, int, WORD_TAB*)': translate.cpp:1421:50: warning: '%s' directive output may be truncated writing up to 159 bytes into a region of size between 1 and 160 [-Wformat-truncation=] snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ^~~~~~~~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from translate.cpp:22: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 1 and 478 bytes into a destination of size 160 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ translate.cpp:1395:51: warning: '%s' directive output may be truncated writing up to 159 bytes into a region of size between 1 and 160 [-Wformat-truncation=] snprintf(word_phonemes, sizeof(word_phonemes), "%s%s%s", unpron_phonemes, prefix_phonemes, phonemes); ^~~~~~~~ ~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:873, from translate.cpp:22: /usr/include/bits/stdio2.h:67:35: note: '__builtin___snprintf_chk' output between 1 and 478 bytes into a destination of size 160 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp: In function 'voice_t* LoadVoice(const char*, int)': voices.cpp:535:7: warning: variable 'error' set but not used [-Wunused-but-set-variable] int error = 0; ^~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions phonemelist.cpp -o x_phonemelist.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions espeak_command.cpp -o x_espeak_command.o voices.cpp: In function 'void GetVoices(const char*)': voices.cpp:1647:17: warning: '%s' directive writing up to 255 bytes into a region of size 249 [-Wformat-overflow=] sprintf(fname,"%s%c%s",path,PATHSEP,ent->d_name); ^~~~~~~~ In file included from /usr/include/stdio.h:873, from voices.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output 2 or more bytes (assuming 257) into a destination of size 250 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ phonemelist.cpp: In function 'void MakePhonemeList(Translator*, int, int)': phonemelist.cpp:117:15: warning: variable 'prev' set but not used [-Wunused-but-set-variable] PHONEME_TAB *prev, *next, *next2; ^~~~ phonemelist.cpp:126:6: warning: variable 'first_vowel' set but not used [-Wunused-but-set-variable] int first_vowel=0; // first vowel in a word ^~~~~~~~~~~ voices.cpp: In function 'voice_t* LoadVoice(const char*, int)': voices.cpp:584:15: warning: '__builtin___sprintf_chk' may write a terminating nul past the end of the destination [-Wformat-overflow=] sprintf(buf,"%s%s",path_voices,voicename); ^~~~~~ In file included from /usr/include/stdio.h:873, from voices.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 1 and 201 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp:592:16: warning: '%s' directive writing up to 39 bytes into a region of size between 35 and 199 [-Wformat-overflow=] sprintf(buf,"%s%s%c%s",path_voices,langname,PATHSEP,voicename); ^~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from voices.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 2 and 205 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp:597:17: warning: '%s' directive writing up to 39 bytes into a region of size between 33 and 194 [-Wformat-overflow=] sprintf(buf,"%sextra%c%s",path_voices,PATHSEP,voicename); ^~~~~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from voices.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 7 and 207 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ voices.cpp:602:18: warning: '%s' directive writing up to 39 bytes into a region of size between 34 and 195 [-Wformat-overflow=] sprintf(buf,"%stest%c%s",path_voices,PATHSEP,voicename); ^~~~~~~~~~~~ ~~~~~~~~~ In file included from /usr/include/stdio.h:873, from voices.cpp:22: /usr/include/bits/stdio2.h:36:34: note: '__builtin___sprintf_chk' output between 6 and 206 bytes into a destination of size 200 return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1, ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions event.cpp -o x_event.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions fifo.cpp -o x_fifo.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions wave.cpp -o x_wave.o event.cpp: In function 'int sleep_until_timeout_or_stop_request(uint32_t)': event.cpp:389:22: warning: variable 'to' set but not used [-Wunused-but-set-variable] struct timespec ts, to; ^~ fifo.cpp: In function 'int sleep_until_start_request_or_inactivity()': fifo.cpp:296:27: warning: variable 'to' set but not used [-Wunused-but-set-variable] struct timespec ts, to; ^~ wave.cpp: In function 'void update_output_parameters(int, const PaDeviceInfo*)': wave.cpp:467:14: warning: unused variable 'aCoeff' [-Wunused-variable] double aCoeff = round(0.100 / aLatency); ^~~~~~ g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions debug.cpp -o x_debug.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions klatt.cpp -o x_klatt.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -fpic -fvisibility=hidden -pedantic \ -I. -D LIBRARY -c -fno-exceptions sonic.cpp -o x_sonic.o g++ -O2 -DUSE_PORTAUDIO -D PATH_ESPEAK_DATA=\"/usr/share/espeak-data\" -Wall -pedantic -I. -c -fno-exceptions espeak.cpp g++ -Wl,-Os,--as-needed -o speak speak.o compiledict.o dictionary.o intonation.o readclause.o setlengths.o numbers.o synth_mbrola.o synthdata.o synthesize.o translate.o mbrowrap.o tr_languages.o voices.o wavegen.o phonemelist.o klatt.o sonic.o -lstdc++ -lportaudio -lpthread espeak.cpp: In function 'void DisplayVoices(FILE*, char*)': espeak.cpp:130:6: warning: variable 'scores' set but not used [-Wunused-but-set-variable] int scores = 0; ^~~~~~ espeak.cpp: In function 'int main(int, char**)': espeak.cpp:394:7: warning: variable 'voice_mbrola' set but not used [-Wunused-but-set-variable] char voice_mbrola[20]; ^~~~~~~~~~~~ espeak.cpp:395:7: warning: variable 'dictname' set but not used [-Wunused-but-set-variable] char dictname[40]; ^~~~~~~~ espeak.cpp:762:8: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result [-Wunused-result] fread(p_text,1,filesize,f_text); ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ g++ -Wl,-Os,--as-needed -shared -Wl,-soname,libespeak.so.1 -o libespeak.so \ x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o x_sonic.o -lstdc++ -lportaudio -lpthread ar cqs libespeak.a x_speak_lib.o x_compiledict.o x_dictionary.o x_intonation.o x_readclause.o x_setlengths.o x_numbers.o x_synth_mbrola.o x_synthdata.o x_synthesize.o x_translate.o x_mbrowrap.o x_tr_languages.o x_voices.o x_wavegen.o x_phonemelist.o x_espeak_command.o x_event.o x_fifo.o x_wave.o x_debug.o x_klatt.o x_sonic.o mv libespeak.so libespeak.so.1.1.45 /bin/ln -sf libespeak.so.1.1.45 libespeak.so.1 /bin/ln -sf libespeak.so.1 libespeak.so g++ -Wl,-Os,--as-needed -o espeak espeak.o -lstdc++ -L . -lespeak # Create directories rm -rf /home/slitaz/wok/espeak/install/usr/share/espeak-data mkdir -p /home/slitaz/wok/espeak/install/usr/bin mkdir -p /home/slitaz/wok/espeak/install/usr/lib mkdir -p /home/slitaz/wok/espeak/install/usr/include/espeak mkdir -p /home/slitaz/wok/espeak/install/usr/share/espeak-data # Install espeak executable install -m 755 espeak /home/slitaz/wok/espeak/install/usr/bin # Install shared library install -m 755 libespeak.so.1.1.45 /home/slitaz/wok/espeak/install/usr/lib # Install static library install -m 755 libespeak.a /home/slitaz/wok/espeak/install/usr/lib /bin/ln -sf libespeak.so.1.1.45 /home/slitaz/wok/espeak/install/usr/lib/libespeak.so.1 /bin/ln -sf libespeak.so.1 /home/slitaz/wok/espeak/install/usr/lib/libespeak.so # Install development headers install -pm 644 speak_lib.h /home/slitaz/wok/espeak/install/usr/include/espeak # Install data files cp -prf ../espeak-data/* /home/slitaz/wok/espeak/install/usr/share/espeak-data ================================================================================ Executing strip on all files... Done Time: 9.21s. Size: 834260 B -> 772880 B. Save: 60 KB. ================================================================================ Build dependencies to remove: 16 Removing: alsa-lib alsa-lib-dev db db-dev flac jack jack-dev libdb libdb-cxx libogg libsamplerate libsamplerate-dev libsndfile libvorbis portaudio portaudio-dev Pack: espeak 1.45.05 ================================================================================ Executing: genpkg_rules Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "espeak-1.45.05-i486.tazpkg" created Pack: espeak-dev 1.45.05 ================================================================================ Executing: genpkg_rules Copying "receipt"... Done Determining package architecture... i486 Creating the list of files... Done Creating md5sum of files... Done Compressing the FS... Done Creating full cpio archive... Done QA: checking for empty package... Done The release checksum has not changed. ================================================================================ Package "espeak-dev-1.45.05-i486.tazpkg" created Post-check ================================================================================ Checking build... Done Checking 'any' arch... Done Checking libtool in source/espeak-1.45.05... Done Checking site script in source/espeak-1.45.05... Done Checking ownership in install... Done Checking permissions in install... Failed Problems found: 0744 /usr/share/espeak-data/voices/!v/m7 0744 /usr/share/espeak-data/voices/fr 0744 /usr/share/espeak-data/voices/fr-be Checking broken symlinks in install... Done Querying Repology... Done Updating activity log... Done ================================================================================ Summary for: espeak 1.45.05 ================================================================================ Src file : espeak-1.45.05-source.zip Src size : 1.9M Source dir : 8.3M Produced : 2.8M Cook time : 31s Cook date : 2020-09-12 06:44 Target arch : i486 -------------------------------------------------------------------------------- # : Packed : Compressed : Files : Package name -------------------------------------------------------------------------------- 1 : 2.3M : 767.0K : 211 : espeak-1.45.05-i486.tazpkg 2 : 512.0K : 168.7K : 2 : espeak-dev-1.45.05-i486.tazpkg ================================================================================