Skip to content

Trying to get the library running with Visual Studio 2019  #20

Open
@netmemberab

Description

@netmemberab

Hi there,
I was successfully compiling the library with VS2019.
But I'm getting runtime problems during the initialization of EcorePackage and EcoreFactory.
(Please note the change in line 179, which was Object_ptr ... casting between intrusive pointers can be problematic for derived classes right?
image

I also noticed that the generated classes do not contain any code for _inverseAdd and _inverseRemove.
Is there any known problem with this 'reverse setup' which Ecore is using. I know from the Java implementation
these two way references between two objects.

This is the function in my Ecore beeing generated:
image

PS) I have already fixed some missing code for handling more complex ecores (with inheritance over multiple ecores).
however I would wait for a running version before I'm sure this is the fix...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions