SergeyDjam / yagf

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

Program returns random data in a function #48

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Post compile check in the openSUSE Build Service displays errors and doesn't 
allow to build a package.

 ... testing for serious compiler warnings
     (using /usr/lib/build/checks-data/check_gcc_output)
     (using /home/kent/rpmbuild/BUILD-osc/openSUSE_Factory-x86_64/.build.log)

 I: Program returns random data in a function
 E: yagf no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/yagf-5aa10dee3fba/src/tpagecollection.cpp:296
 E: yagf no-return-in-nonvoid-function /home/abuild/rpmbuild/BUILD/yagf-5aa10dee3fba/src/utils.cpp:80, 90, 100

Original issue reported on code.google.com by lazy.ken...@gmail.com on 17 Aug 2014 at 12:33

GoogleCodeExporter commented 9 years ago
I'm in a disarray. Take a look at tpagecollection.cpp:296 - it is non-void, but 
it always returns a value.
utils.cpp:80, 90, 100 return nothing and they are declared as void.

And when built with make GCC reports no issues. What should I do?

Original comment by andrei.b...@gmail.com on 18 Aug 2014 at 1:10

GoogleCodeExporter commented 9 years ago
Bad code in previous release. Fixed currently.

Original comment by andrei.b...@gmail.com on 18 Aug 2014 at 1:30