Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1582

Bad includes of nested thrift files in c_glib

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.8, 0.9
    • 0.8, 0.9
    • C glib - Compiler
    • When trying to compile the attached files the generated code does not compile.

    • Patch Available

    Description

      The generated code of the header looks like

      second_types.h
      ...
      /* other thrift includes */
      #include "firstTest_types.h"
      ...
      

      But should look like:

      second_types.h
      ...
      /* other thrift includes */
      #include "first_test_types.h"
      ...
      

      Attachments

        1. firstTest.thrift
          0.0 kB
          José Antonio Santos
        2. second.thrift
          0.1 kB
          José Antonio Santos
        3. thrift-1582-c_glib_generator.patch
          0.6 kB
          José Antonio Santos

        Activity

          People

            jcaden José Antonio Santos
            jcaden José Antonio Santos
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: