siriz / leptonica

Automatically exported from code.google.com/p/leptonica
0 stars 0 forks source link

leptonlib-1.67. Program returns random data in a function. #43

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to build rpm-packages for openSUSE.

While testing compiler warnings I get errors, and packages can't be built.

I: Program returns random data in a function
E: liblept0 no-return-in-nonvoid-function adaptnorm_reg.c:148
E: liblept0 no-return-in-nonvoid-function graphicstest.c:83
E: liblept0 no-return-in-nonvoid-function lowaccess_reg.c:258
E: liblept0 no-return-in-nonvoid-function pixalloc_reg.c:139
E: liblept0 no-return-in-nonvoid-function rotatefastalt.c:72

Could you please make some changes in problem files?
Build log attached.

Original issue reported on code.google.com by lazy.ken...@gmail.com on 11 Nov 2010 at 9:36

Attachments:

GoogleCodeExporter commented 9 years ago
The proper return values will be added for the 1.68 distribution

Original comment by dan.bloo...@gmail.com on 12 Nov 2010 at 6:21

GoogleCodeExporter commented 9 years ago
For now, just add 'return 0' to the mains in these 5 files,
for building the rpm.

Original comment by dan.bloo...@gmail.com on 12 Nov 2010 at 6:36

GoogleCodeExporter commented 9 years ago
fixed in 1.68

Original comment by dan.bloo...@gmail.com on 16 Mar 2011 at 12:05