qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Huston (JIRA)" <qpid-...@incubator.apache.org>
Subject [jira] Created: (QPID-1436) rubygen generates TypeCode.h that is missing IntegerTypes.h
Date Wed, 05 Nov 2008 16:41:44 GMT
rubygen generates TypeCode.h that is missing IntegerTypes.h

                 Key: QPID-1436
                 URL: https://issues.apache.org/jira/browse/QPID-1436
             Project: Qpid
          Issue Type: Bug
          Components: Code Generator
    Affects Versions: M4
         Environment: Windows, Visual Studio
            Reporter: Steve Huston
            Assignee: Steve Huston

A recent change to the rubygen code generator for C++ generates a gen/qpid/framing/TypeCode.h
with methods that take a uint8_t, but that type requires qpid/sys/IntegerTypes.h to compile
on Windows.
This change fixes it:

Index: rubygen/framing.0-10/constants.rb
--- rubygen/framing.0-10/constants.rb   (revision 711592)
+++ rubygen/framing.0-10/constants.rb   (working copy)
@@ -52,6 +52,7 @@
     h_file(path) {
+      include("\"qpid/sys/IntegerTypes.h\"")
       namespace(@namespace) {
         scope("enum TypeCode {", "};") {
           genl @amqp.types.map { |t| "#{typecode_enum t} = #{t.code}" if t.code}.compact.join(",\n")

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message