Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] erpcgen fails when generating union with string for C #368

Open
2 tasks done
KomarekJan opened this issue Jul 19, 2023 · 1 comment
Open
2 tasks done

[BUG] erpcgen fails when generating union with string for C #368

KomarekJan opened this issue Jul 19, 2023 · 1 comment
Labels

Comments

@KomarekJan
Copy link

KomarekJan commented Jul 19, 2023

Describe the bug
Erpcgen fails when generating shim code for C from IDL file that contains union with string.

To Reproduce

program testUnion

enum { A, B }

union unionWithString {
    case A:
        string b
    case B:
        int32 a
}

struct C {
    int32 discriminator
    unionWithString data @discriminator(discriminator)
}

interface test {
    unionTest(C a) -> void
}

On Windows fails with the exit code -1073741819

Expected behavior
Generate shim code.

Screenshots

Desktop (please complete the following information):

  • OS: Windows 10
  • eRPC Version: v1.10.0

Steps you didn't forgot to do

  • I checked if there is no related issue opened/closed.
  • I checked that there doesn't exist opened PR which is solving this issue.

Additional context

@KomarekJan KomarekJan added the bug label Jul 19, 2023
@github-actions
Copy link

Hi eRPC user. Thank you for your interest and welcome. We hope you will enjoy this framework well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant