-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[C++] flatc generates invalid code for union UnPackTo when "--cpp-field-case-style upper" and "--gen-object-api" are used #8446
Comments
Related: #7210 |
Ailuridae
pushed a commit
to Ailuridae/flatbuffers
that referenced
this issue
Dec 12, 2024
Fixes access to union members when generating code with options "--cpp-field-case-style upper" and "--gen-object-api"
Ailuridae
added a commit
to Ailuridae/flatbuffers
that referenced
this issue
Dec 12, 2024
Fixes access to union members when generating code with options "--cpp-field-case-style upper" and "--gen-object-api"
Ailuridae
added a commit
to Ailuridae/flatbuffers
that referenced
this issue
Dec 29, 2024
Fixes access to union members when generating code with options "--cpp-field-case-style upper" and "--gen-object-api"
Ailuridae
added a commit
to Ailuridae/flatbuffers
that referenced
this issue
Feb 2, 2025
Fixes access to union members when generating code with options "--cpp-field-case-style upper" and "--gen-object-api"
Ailuridae
added a commit
to Ailuridae/flatbuffers
that referenced
this issue
Feb 2, 2025
Fixes access to union members when generating code with options "--cpp-field-case-style upper" and "--gen-object-api"
Ailuridae
added a commit
to Ailuridae/flatbuffers
that referenced
this issue
Feb 2, 2025
Fixes access to union members when generating code with options "--cpp-field-case-style upper" and "--gen-object-api"
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The schema below, when compiled with the options
--cpp
,--gen-object-api
and--cpp-field-case-style upper
, generates invalid C++ code.Affecfted versions: v24.3.25, current master
Schema
Output
The text was updated successfully, but these errors were encountered: