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

Error in building pluto dev version #93

Open
sangeeta0201 opened this issue Mar 5, 2023 · 1 comment
Open

Error in building pluto dev version #93

sangeeta0201 opened this issue Mar 5, 2023 · 1 comment

Comments

@sangeeta0201
Copy link

Hello,

I am getting the below error while building the pluto dev version master branch

make[4]: Entering directory '/home/user/pluto/pet'
  CXX      clang.lo
  CXX      expr_plus.lo
  CXX      inlined_calls.lo
In file included from inlined_calls.cc:41:0:
inlined_calls.cc: In member function ‘void pet_inlined_calls::add(clang::CallExpr*)’:
config.h:185:23: error: ‘class clang::FunctionDecl’ has no member named ‘getResultType’; did you mean ‘getReturnType’?
 #define getReturnType getResultType
                       ^
config.h:185:23: note: in definition of macro ‘getReturnType’
 #define getReturnType getResultType
                       ^~~~~~~~~~~~~

I am using clang 11 and ubuntu 18.04.

@bondhugula
Copy link
Owner

Pluto was recently updated (in June) to work with all newer versions of clang headers/libs -- for eg. clang 14, 15, and 16 should all work fine. The error you see above is because an incompatible version of clang was found/being used by the configure script. Please try with the latest git version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants