amandeepgautam
Programmer
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?
[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?