I have had a look at this and it is an error in the KXStitch source, although it is benign as the function should always return from within the loop and should never reach the end of the function and return garbage.
Does it prevent compilation or is it just a warning? I will update CVS with a fix, although to do it correctly KXStitch should fail with an error since something went wrong somewhere.
Regards
Steve
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Compilation works. It is an error rpmlint complains about, after the package is built. So I can't build this in the openSUSE Build Service, which has an rpmlint check. When an erroc occurs, the package will be removed and not published. So, it prevents building in the openSUSE Build Service, but not building in general.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
when building kxstitch 0.8.3.1 for openSUSE, the openSUSE Build Service rpmlint checks complain about a no return in nonvoid function.
I: Program returns random data in a function
E: kxstitch no-return-in-nonvoid-function palettemanagerdialog.cpp:335
How can I solve this issue? Or is it a rpmlint mistake?
I will investigate and let you know as soon as I can.
Thank you very much.... :)
I have had a look at this and it is an error in the KXStitch source, although it is benign as the function should always return from within the loop and should never reach the end of the function and return garbage.
Does it prevent compilation or is it just a warning? I will update CVS with a fix, although to do it correctly KXStitch should fail with an error since something went wrong somewhere.
Regards
Steve
Compilation works. It is an error rpmlint complains about, after the package is built. So I can't build this in the openSUSE Build Service, which has an rpmlint check. When an erroc occurs, the package will be removed and not published. So, it prevents building in the openSUSE Build Service, but not building in general.
I have now created an own little patch with the changes from CVS regarding this problem, and now it works. Thank you for your efforts. :)
Best greetings
Buschmann