[MacPorts] #65525: grpc fails on 10.6.8: error: missing binary operator before token "("
MacPorts
noreply at macports.org
Sat Jul 23 13:07:54 UTC 2022
#65525: grpc fails on 10.6.8: error: missing binary operator before token "("
---------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords:
Port: grpc |
---------------------------+--------------------
Comment (by barracuda156):
Replying to [comment:1 jmroot]:
> This is a genuine bug and is still present in upstream master. You can't
use `__has_feature` in the same expression that checks whether it's
defined. (The check for `__has_include` in the same file is done
correctly.)
>
> The code in question should look like this:
> {{{
> #if defined(__has_feature)
> #if __has_feature(cxx_thread_local)
> #define GPR_PTHREAD_TLS 1
> #endif
> #endif
> }}}
Thank you! Should we submit a fix to the upstream?
P. S. Sorry for misspelling, `gpr.dir` confused me.
--
Ticket URL: <https://trac.macports.org/ticket/65525#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list