supertanglang / scim-googlepinyin

Automatically exported from code.google.com/p/scim-googlepinyin
1 stars 0 forks source link

compiling the latest source #33

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download the latest source
2. autogen
3. make

What is the expected output? What do you see instead?

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I. -I../.. -Werror -g -O2 -MT
libpinyinime_la-userdict.lo -MD -MP -MF .deps/libpinyinime_la-userdict.Tpo
-c userdict.cpp  -fPIC -DPIC -o .libs/libpinyinime_la-userdict.o
cc1plus: warnings being treated as errors
userdict.cpp: In member function ‘void ime_pinyin::UserDict::write_back()’:
userdict.cpp:1270: error: ignoring return value of ‘int ftruncate(int,
__off_t)’, declared with attribute warn_unused_result
userdict.cpp: In member function ‘void
ime_pinyin::UserDict::write_back_sync(int)’:
userdict.cpp:1285: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1286: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp: In member function ‘void
ime_pinyin::UserDict::write_back_offset(int)’:
userdict.cpp:1294: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1296: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1298: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1300: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1302: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp: In member function ‘void
ime_pinyin::UserDict::write_back_score(int)’:
userdict.cpp:1314: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1316: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1318: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp: In member function ‘void
ime_pinyin::UserDict::write_back_lemma(int)’:
userdict.cpp:1331: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1333: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1335: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1337: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1339: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1341: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp: In member function ‘void
ime_pinyin::UserDict::write_back_all(int)’:
userdict.cpp:1351: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1352: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1354: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1356: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1358: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
userdict.cpp:1360: error: ignoring return value of ‘ssize_t write(int,
const void*, size_t)’, declared with attribute warn_unused_result
make[3]: *** [libpinyinime_la-userdict.lo] Error 1
make[3]: Leaving directory `/tmp/tchaikov-scim-googlepinyin-36faf39/src/share'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/tmp/tchaikov-scim-googlepinyin-36faf39/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/tchaikov-scim-googlepinyin-36faf39'
make: *** [all] Error 2

What version of the product are you using? On what operating system?
Linux powertop 2.6.28-16-generic #57-Ubuntu SMP Wed Nov 11 09:47:24 UTC
2009 i686 GNU/Linux

Please provide any additional information below.

Original issue reported on code.google.com by larry1c...@gmail.com on 31 Dec 2009 at 11:21

GoogleCodeExporter commented 9 years ago
thanks larry,

we believe the bug you reported is fixed in the latest git version.

Original comment by tchai...@gmail.com on 31 Dec 2009 at 4:20

GoogleCodeExporter commented 9 years ago
yes it is fixed. thanks.

Original comment by larry1c...@gmail.com on 31 Dec 2009 at 4:40