pluto: Problem building pluto+ branch on Ubuntu 17.04
GCC version 6.3.0
make
...
scan.cc: At global scope:
scan.cc:5073:35: error: ‘pet_scop* PetScan::extract’ is not a static data member of ‘struct PetScan’
struct pet_scop *PetScan::extract(StmtRange stmt_range, bool block,
^~~~~~~~~
scan.cc:5073:35: error: ‘StmtRange’ was not declared in this scope
scan.cc:5073:57: error: expected primary-expression before ‘bool’
struct pet_scop *PetScan::extract(StmtRange stmt_range, bool block,
^~~~
scan.cc:5074:2: error: expected primary-expression before ‘bool’
bool skip_declarations)
^~~~
scan.cc:5074:24: error: expression list treated as compound expression in initializer [-fpermissive]
bool skip_declarations)
^
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 19 (8 by maintainers)
It appears I did manage to build pet after installing clang-3.9-dev and llvm-3.9-dev libraries from Ubuntu repository (default is version 4.0).
However, now I see the following error when building pluto (on pluto+ branch)