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

include/llvm/Object/SymbolicFile.h:48:31: error: expected ')' #8

Open
pearu opened this issue Aug 26, 2019 · 0 comments
Open

include/llvm/Object/SymbolicFile.h:48:31: error: expected ')' #8

pearu opened this issue Aug 26, 2019 · 0 comments
Labels
with a solution Issue has a solution

Comments

@pearu
Copy link
Contributor

pearu commented Aug 26, 2019

In file included from /home/pearu/work/miniconda3/envs/omniscidb-cpu-dev/include/llvm/Object/ObjectFile.h:24:
/home/pearu/work/miniconda3/envs/omniscidb-cpu-dev/include/llvm/Object/SymbolicFile.h:48:31: error: expected ')'
  OS << "(" << format("0x%08" PRIxPTR, D.p) << " (" << format("0x%08x", D.d.a)
                              ^
<command line>:22:17: note: expanded from here
#define PRIxPTR p
                ^
/home/pearu/work/miniconda3/envs/omniscidb-cpu-dev/include/llvm/Object/SymbolicFile.h:48:22: note: to match this '('
  OS << "(" << format("0x%08" PRIxPTR, D.p) << " (" << format("0x%08x", D.d.a)

Appearances:

  • Centos 7.5

Solution:

export CXXFLAGS="$CXXFLAGS -D__STDC_FORMAT_MACROS"
@pearu pearu added the with a solution Issue has a solution label Aug 26, 2019
@pearu pearu changed the title [Failure] include/llvm/Object/SymbolicFile.h:48:31: error: expected ')' include/llvm/Object/SymbolicFile.h:48:31: error: expected ')' Aug 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
with a solution Issue has a solution
Projects
None yet
Development

No branches or pull requests

1 participant