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

Many dependencies fail: error: no matching member function for call to 'VerifyField' #7272

Closed
yurivict opened this issue Apr 25, 2022 · 1 comment

Comments

@yurivict
Copy link
Contributor

Projects that depend on flatbuffers fail because flatbuffers-generated headers generated by previous versions aren't compatible with 2.0.6.

The error is:

/wrkdirs/usr/ports/misc/nn-insight/work/nn-insight-1.0.5/plugins/tf-lite/tflite_schema_generated.h:1833:12: error: no matching member function for call to 'VerifyField'
           VerifyField<uint8_t>(verifier, VT_DETAILS_TYPE) &&
           ^~~~~~~~~~~~~~~~~~~~
freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this issue Apr 25, 2022
This reverts commit b22bcf4.

Update breaks pre-generated flatbuffers headers:
google/flatbuffers#7272

PR:		263552
Reported by:	jbeich@
@dbaileychess
Copy link
Collaborator

The generated code needs to be regenerated when you upgrade the library. We don't support a version mismatch between the two. And now in 2.0.6, we static assert this property, so it will be more obvious.

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

No branches or pull requests

2 participants