Hi Steve,
I think this has something to do with the Ruby version. We had
another code gen issue related to Ruby version. In that case 1.8.6.114
was working fine but not 1.8.6.111.
Danushka
Steve Huston wrote:
Hi,
I'm working on the Windows build and adding the rubygen piece at the
start of the common build. It's running ruby and generating lots of
stuff, but the immediate issue I'm facing is that the generated
qpid/framing/constants.h file has duplicates for lots of things... For
example:
namespace qpid {
namespace framing {
enum AmqpConstant {
MIN_MAX_FRAME_SIZE=4096,
MIN_MAX_FRAME_SIZE=4096,
CONNECTION_CLASS_ID=0x1,
CONNECTION_START_METHOD_ID=0x1,
...
STREAM_PUBLISH_METHOD_ID=0x6,
STREAM_RETURN_METHOD_ID=0x7,
STREAM_DELIVER_METHOD_ID=0x8,
CONNECTION_CLASS_ID=0x1,
CONNECTION_START_METHOD_ID=0x1,
I tried the build on Linux on a clean svn checkout and, of course,
it's fine.
I've never tried to read Ruby code before today... Does anyone know
what may be going on here? The Ruby on Windows is 1.8.6 from
http://www.ruby-lang.org/en/downloads/ and the Ruby on Linux is ruby
1.8.1 (2003-12-25) [i386-linux-gnu]
-Steve