[
https://issues.apache.org/jira/browse/ETCH-269?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastian Setzer updated ETCH-269:
----------------------------------
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
was: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.
> C-Binding doesn't work for multi-level class hierarchies
> --------------------------------------------------------
>
> Key: ETCH-269
> URL: https://issues.apache.org/jira/browse/ETCH-269
> Project: Etch
> Issue Type: Bug
> Components: compiler
> Affects Versions: 1.2
> Environment: All
> Reporter: Sebastian Setzer
> Labels: newbie
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> 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
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira