Bug 497589

Summary: openbabel-2.2.0-4.86: undefined code
Product: [openSUSE] openSUSE 11.2 Reporter: David Binderman <dcb314>
Component: OtherAssignee: E-mail List <kde-maintainers>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Minor    
Priority: P4 - Low    
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: openSUSE 11.1   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description David Binderman 2009-04-23 09:31:56 UTC
I just tried to build Factory package openbabel-2.2.0-4.86
and the build said

fingerprint.cpp:153: warning: operation on 'ppat' may be undefined

The source code is

            if ( (a=((*ppat) & (*p++)) ^ (*ppat++)) ) break;

I agree with the compiler. This code is undefined.
Suggest code rework.
Comment 1 Lubos Lunak 2009-04-24 09:41:08 UTC
.

*** This bug has been marked as a duplicate of bug 442933 ***
Comment 2 David Binderman 2009-04-24 19:04:51 UTC
(In reply to comment #1)
> *** This bug has been marked as a duplicate of bug 442933 ***

I don't think it is plausible to claim that one piece
of undefined code in the area of expression handling is a duplicate
of another piece of undefined code in the area of memory
allocation.

Would it be possible to find out the name or email address
of the manager or supervisor of L Lunak, please ?