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

implicit declaration of function 'thrift_protocol_decorator_write_message_begin' is invalid in C99 #112

Open
raziele opened this issue Dec 5, 2020 · 1 comment

Comments

@raziele
Copy link

raziele commented Dec 5, 2020

When using Xcode 12, the above error appears.
After some investigation, this is the same bug as https://trac.macports.org/ticket/61252

Steps used to solve the issue:

  1. Downloaded patch files from the above link, saved under "patches" and mv to .patch
  2. Added "-p0" to the git apply command in the unpack() function in build.sh

I'll try to fix it soon and create a pull request

@raziele
Copy link
Author

raziele commented Dec 11, 2020

Moving forward with the build script, it seems "-p0" caused other patches to break.
Looking at the thrift patches, they are missing the "a/" and "b/" prefixes, so I guess they are the ones that need to be modified

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

1 participant