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

Add C++ support #153

Open
i-ky opened this issue Jun 4, 2020 · 1 comment
Open

Add C++ support #153

i-ky opened this issue Jun 4, 2020 · 1 comment

Comments

@i-ky
Copy link
Contributor

i-ky commented Jun 4, 2020

I've tried to enter the following code:

class Foo {};

int main()
{
  return 0;
}

... and I'm getting:

Error running /usr/bin/clang-6.0 -I /home/klee/klee_src/include -emit-llvm -c -g /tmp/code/code.c -o /tmp/code/code.o:
/tmp/code/code.c:1:1: error: unknown type name 'class'
class Foo {};
^
/tmp/code/code.c:1:10: error: expected ';' after top level declarator
class Foo {};
         ^
         ;
2 errors generated.

Please add an option to select C++ compiler.

@ccadar
Copy link
Contributor

ccadar commented Jun 5, 2020

Thank you for reporting this. We are not actively extending KLEE-Web at the moment, but we would welcome such a PR.

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