Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

expected ')' before 'PRIdPTR'

Status
Not open for further replies.

amandeepgautam

Programmer
Dec 21, 2017
8
US
I am trying to compile gRPC on AIX 7.2 and I run into this error:

[tt]./src/core/lib/gprpp/orphanable.h:163:44: error: expected ')' before 'PRIdPTR'
gpr_log(GPR_INFO, "%s:%p %s:%d ref %" PRIdPTR " -> %" PRIdPTR " %s",
~ ^~~~~~~~
[/tt]

Ideally, this should just be present. I am using gcc 8.2.1:
[tt]
bash-4.4# g++ --version
g++ (GCC) 8.2.0
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[/tt]

Other discussions seems to say that there are only workarounds for this. For example, here:
How could I fix this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top