Oh, you're right. I'm sorry, I was for the first time using gnu autotools and I tought I have to specify it somehow in makefiles.<br><br><div class="gmail_quote">2012/11/8 Duncan Sands <span dir="ltr"><<a href="mailto:baldrick@free.fr" target="_blank">baldrick@free.fr</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Wojciech,<div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I'm using project template from LLVM library (<a href="http://llvm.org/docs/Projects.html" target="_blank">http://llvm.org/docs/<u></u>Projects.html</a>).<br>
while compiling (executing 'make' in build directory of my custom project) it<br>
uses clang and gives me several errors. While using clang++ or g++ it works. The<br>
question is - how can I change these makefile config files, to enable<br>
generatoing of makefile that will use the ++ version of compilers.<br>
</blockquote>
<br></div></div>
maybe your files are named wrong?  If they end in .cpp they should be compiled<br>
as C++ files automatically.<br>
<br>
Ciao, Duncan.<br>
<br>
______________________________<u></u>_________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu" target="_blank">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvmdev</a><br>
</blockquote></div><br>