Bug 692569

Summary: Generated SWIG files do not compile on some systems.
Product: Red Hat Enterprise MRG Reporter: Nick Capito <ncapito>
Component: qpid-qmfAssignee: messaging-bugs <messaging-bugs>
Status: CLOSED CURRENTRELEASE QA Contact: MRG Quality Engineering <mrgqe-bugs>
Severity: low Docs Contact:
Priority: unspecified    
Version: 1.3CC: jross
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 0.10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-02-26 21:23:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Generated SWIG files none

Description Nick Capito 2011-03-31 15:26:21 UTC
Created attachment 489135 [details]
Generated SWIG files

Description of problem:
When building the C++ broker the following files do not compile:
   
   /qpid/cpp/bindings/qmf/python/qmfengine.cpp  (2051, 17069)
   /qpid/cpp/bindings/qpid/python/cqpid.cpp (2051, 11402)
   /qpid/cpp/bindings/qmf2/python/cqmf2.cpp(2051, 16534)

They all produce the same error:  
 error: invalid conversion from 'const char*' to 'char*'

swig 1.3.29-2.el5
python-2.7.1
gcc - 4.1.2-50.el5


I am guessing this is an issue with swig versions.

Comment 1 Nick Capito 2011-03-31 15:43:05 UTC
I installed version swig 2 + and it works fine.