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

there are errors #3

Open
AloyASen opened this issue Mar 13, 2019 · 0 comments
Open

there are errors #3

AloyASen opened this issue Mar 13, 2019 · 0 comments

Comments

@AloyASen
Copy link

arith.cpp:8:31: error: use of undeclared identifier 'getGlobalContext'
static LLVMContext &Context = getGlobalContext();
^
arith.cpp:50:19: warning: unused variable 'gVar' [-Wunused-variable]
GlobalVariable *gVar = createGlob(Builder, "x");
^
1 warning and 1 error generated.

command used

clang++ arith.cpp llvm-config --cxxflags --ldflags --system-libs --libs core -fno-rtti -o toy

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

1 participant