Bug 692569 - Generated SWIG files do not compile on some systems.
Summary: Generated SWIG files do not compile on some systems.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: qpid-qmf
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: messaging-bugs
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-31 15:26 UTC by Nick Capito
Modified: 2013-02-26 21:23 UTC (History)
1 user (show)

Fixed In Version: 0.10
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-26 21:23:24 UTC
Target Upstream Version:


Attachments (Terms of Use)
Generated SWIG files (137.08 KB, application/x-gzip)
2011-03-31 15:26 UTC, Nick Capito
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.