[voikko-devel] Libvoikon testaus

Teemu Likonen tlikonen at iki.fi
Sat Jan 27 12:32:12 EET 2007


Harri Pitkänen kirjoitti:

> Libvoikko alkaisi olla nyt siinä kunnossa, että sitä kannattaisi
> alkaa testailemaan seuraavan version julkaisua varten.

Libvoikko r1054 ei käänny. Virheilmoitukset liitteenä.
-------------- seuraava osa --------------
In file included from voikko_setup.h:25,
                 from voikko_hyphenate.c:21:
/usr/include/wchar.h: In function 'voikko_is_good_hyphen_position':
/usr/include/wchar.h:326: error: nested function 'mbrlen' declared 'extern'
/usr/include/wchar.h:326: error: static declaration of 'mbrlen' follows non-static declaration
/usr/include/wchar.h:318: error: previous declaration of 'mbrlen' was here
/usr/include/wchar.h:532: error: nested function 'wcstod' declared 'extern'
/usr/include/wchar.h:532: error: static declaration of 'wcstod' follows non-static declaration
/usr/include/wchar.h:376: error: previous declaration of 'wcstod' was here
/usr/include/wchar.h:536: error: nested function 'wcstol' declared 'extern'
/usr/include/wchar.h:536: error: static declaration of 'wcstol' follows non-static declaration
/usr/include/wchar.h:390: error: previous declaration of 'wcstol' was here
/usr/include/wchar.h:540: error: nested function 'wcstoul' declared 'extern'
/usr/include/wchar.h:540: error: static declaration of 'wcstoul' follows non-static declaration
/usr/include/wchar.h:396: error: previous declaration of 'wcstoul' was here
In file included from voikko_hyphenate.c:24:
/usr/include/stdlib.h:326: error: nested function 'strtod' declared 'extern'
/usr/include/stdlib.h:326: error: static declaration of 'strtod' follows non-static declaration
/usr/include/stdlib.h:166: error: previous declaration of 'strtod' was here
/usr/include/stdlib.h:332: error: nested function 'strtol' declared 'extern'
/usr/include/stdlib.h:332: error: static declaration of 'strtol' follows non-static declaration
/usr/include/stdlib.h:185: error: previous declaration of 'strtol' was here
/usr/include/stdlib.h:338: error: nested function 'strtoul' declared 'extern'
/usr/include/stdlib.h:338: error: static declaration of 'strtoul' follows non-static declaration
/usr/include/stdlib.h:189: error: previous declaration of 'strtoul' was here
/usr/include/stdlib.h:347: error: nested function 'strtof' declared 'extern'
/usr/include/stdlib.h:347: error: static declaration of 'strtof' follows non-static declaration
/usr/include/stdlib.h:173: error: previous declaration of 'strtof' was here
/usr/include/stdlib.h:352: error: nested function 'strtold' declared 'extern'
/usr/include/stdlib.h:352: error: static declaration of 'strtold' follows non-static declaration
/usr/include/stdlib.h:177: error: previous declaration of 'strtold' was here
/usr/include/stdlib.h:378: error: nested function 'strtoll' declared 'extern'
/usr/include/stdlib.h:378: error: static declaration of 'strtoll' follows non-static declaration
/usr/include/stdlib.h:211: error: previous declaration of 'strtoll' was here
/usr/include/stdlib.h:384: error: nested function 'strtoull' declared 'extern'
/usr/include/stdlib.h:384: error: static declaration of 'strtoull' follows non-static declaration
/usr/include/stdlib.h:216: error: previous declaration of 'strtoull' was here
/usr/include/stdlib.h:393: error: nested function 'atof' declared 'extern'
/usr/include/stdlib.h:393: error: static declaration of 'atof' follows non-static declaration
/usr/include/stdlib.h:146: error: previous declaration of 'atof' was here
/usr/include/stdlib.h:398: error: nested function 'atoi' declared 'extern'
/usr/include/stdlib.h:398: error: static declaration of 'atoi' follows non-static declaration
/usr/include/stdlib.h:149: error: previous declaration of 'atoi' was here
/usr/include/stdlib.h:403: error: nested function 'atol' declared 'extern'
/usr/include/stdlib.h:403: error: static declaration of 'atol' follows non-static declaration
/usr/include/stdlib.h:152: error: previous declaration of 'atol' was here
/usr/include/stdlib.h:412: error: nested function 'atoll' declared 'extern'
/usr/include/stdlib.h:412: error: static declaration of 'atoll' follows non-static declaration
/usr/include/stdlib.h:159: error: previous declaration of 'atoll' was here
In file included from /usr/include/string.h:417,
                 from voikko_hyphenate.c:26:
/usr/include/bits/string2.h:972: error: nested function '__strcspn_c1' declared 'extern'
/usr/include/bits/string2.h:983: error: nested function '__strcspn_c2' declared 'extern'
/usr/include/bits/string2.h:996: error: nested function '__strcspn_c3' declared 'extern'
/usr/include/bits/string2.h:1048: error: nested function '__strspn_c1' declared 'extern'
/usr/include/bits/string2.h:1060: error: nested function '__strspn_c2' declared 'extern'
/usr/include/bits/string2.h:1072: error: nested function '__strspn_c3' declared 'extern'
/usr/include/bits/string2.h:1125: error: nested function '__strpbrk_c2' declared 'extern'
/usr/include/bits/string2.h:1137: error: nested function '__strpbrk_c3' declared 'extern'
/usr/include/bits/string2.h:1176: error: nested function '__strtok_r_1c' declared 'extern'
/usr/include/bits/string2.h:1226: error: nested function '__strsep_1c' declared 'extern'
/usr/include/bits/string2.h:1236: error: nested function '__strsep_2c' declared 'extern'
/usr/include/bits/string2.h:1264: error: nested function '__strsep_3c' declared 'extern'
voikko_hyphenate.c:30: warning: ISO C forbids nested functions
voikko_hyphenate.c:59: warning: ISO C forbids nested functions
voikko_hyphenate.c:59: error: static declaration of 'voikko_simple_hyphenation' follows non-static declaration
voikko_hyphenate.h:43: error: previous declaration of 'voikko_simple_hyphenation' was here
voikko_hyphenate.c:158: warning: ISO C forbids nested functions
voikko_hyphenate.c:158: error: static declaration of 'voikko_interpret_analysis' follows non-static declaration
voikko_hyphenate.h:51: error: previous declaration of 'voikko_interpret_analysis' was here
voikko_hyphenate.c:184: warning: ISO C forbids nested functions
voikko_hyphenate.c:184: error: static declaration of 'voikko_split_compounds' follows non-static declaration
voikko_hyphenate.h:78: error: previous declaration of 'voikko_split_compounds' was here
voikko_hyphenate.c:253: warning: ISO C forbids nested functions
voikko_hyphenate.c:253: error: static declaration of 'voikko_intersect_hyphenations' follows non-static declaration
voikko_hyphenate.h:58: error: previous declaration of 'voikko_intersect_hyphenations' was here
voikko_hyphenate.c:275: warning: ISO C forbids nested functions
voikko_hyphenate.c:275: error: static declaration of 'voikko_compound_hyphenation' follows non-static declaration
voikko_hyphenate.h:67: error: previous declaration of 'voikko_compound_hyphenation' was here
voikko_hyphenate.c:295: warning: ISO C forbids nested functions
voikko_hyphenate.c:295: error: static declaration of 'voikko_remove_extra_hyphenations' follows non-static declaration
voikko_hyphenate.h:87: error: previous declaration of 'voikko_remove_extra_hyphenations' was here
voikko_hyphenate.c:327: warning: ISO C forbids nested functions
voikko_hyphenate.c:367: warning: ISO C forbids nested functions
voikko_hyphenate.c:376: error: expected declaration or statement at end of input
voikko_setup.h:54: warning: unused variable 'voikko_handle_count'
make[3]: *** [voikko_hyphenate.lo] Error 1
make[3]: Leaving directory `/home/ramdisk/libvoikko/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/ramdisk/libvoikko'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ramdisk/libvoikko'
make: *** [build-stamp] Error 2


More information about the devel mailing list