gnuradio-for-mac-without-macports icon indicating copy to clipboard operation
gnuradio-for-mac-without-macports copied to clipboard

implicit declaration of function 'thrift_protocol_decorator_write_message_begin' is invalid in C99

Open raziele opened this issue 4 years ago • 1 comments

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 avatar Dec 05 '20 23:12 raziele

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

raziele avatar Dec 11 '20 11:12 raziele