在Ubuntu 16.04上,使用以下命令安装LLVM:
具体来说,我按照LLVM网站上的教程:http://llvm.org/docs/tutorial/LangImpl03.html进行操作。
LLVM版本为3.8。
如何消除此警告?
谢谢。
sudo apt-get install clang llvm
编译时我遇到了以下错误:
nlykkei@nlykkei-VirtualBox:~$ clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs` -o toy
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
1 warning generated.
具体来说,我按照LLVM网站上的教程:http://llvm.org/docs/tutorial/LangImpl03.html进行操作。
LLVM版本为3.8。
如何消除此警告?
谢谢。