Skip to content

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

@pearu

Description

@pearu
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"

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions