Uploaded image for project: 'Etch'
  1. Etch
  2. ETCH-269

C-Binding doesn't work for multi-level class hierarchies

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.2
    • None
    • compiler
    • All

    Description

      etchobj_is_assignable_from, called by etch_typevtor_validate, assumes that the inheritance list contains all superclasses of a class. But the generator initializes this list only with the direct superclass.

      This causes error messages like this:
      24-04-2013 10:56:12 [008912] ERROR etch_binary_tdi - validation failed for type a0 class 41b - ..\..\..\src\main\bindings\msg\etch_binary_tdi.c 1166

      Attachments

        Activity

          People

            joenx77 Giorgio Zoppi
            sebastiansetzer Sebastian Setzer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified