Page 1 of 1

Compiler is No Longer Clang++

Posted: Tue Jan 13, 2015 11:59 pm
by saul
I've been using codelite for a couple of weeks. I'm using Codelite version 7.0 on OS X version 10.10.1 The first few little projects I made used clang++ as the compiler, but suddenly every time I try to make a new project, it uses g++. Clang++ is what I want.

I'm selecting simple executable(clange++) as the project type, and in the next screen I get four choices for the for the compiler:
GCC
GCC(Xcode)
Cross GCC (llvm)
clang (based on LLVM 3.5svn)

No matter which one of these I choose, I always get g++.

When I look at the settings in my earlier projects, the project type is Executable and the complier is clang (based on LLVM 3.5svn).

I don't know what I'm doing differently. I've tried creating the project starting from File/New/New Project, from Workspace/New Project and by right-click the workspace name in the workspace pane and choosing Create New Project. All give the same behavior.

Please tell me how to set the compiler to clang++.

EDITED: Okay, i've found that I can change the compiler in the project settings. Still, it doesn't seems right that I can specify it in the wizard and it has no effect. What am i doing wrong?

Thanks,
Saul

Re: Compiler is No Longer Clang++

Posted: Wed Jan 14, 2015 2:09 am
by Gibbon1
> EDITED: Okay, i've found that I can change the compiler in the project settings. Still, it doesn't seems right that I can specify it in the wizard and it has no effect. What am i doing wrong?

You aren't doing anything wrong, it's broken since time immemorial. I use codelite for cross compiling. When I create a new project I always have to go in and change the compiler from g++ to to my cross compiler.

Re: Compiler is No Longer Clang++

Posted: Wed Jan 14, 2015 5:19 pm
by eranif
Gibbon1 wrote:> EDITED: Okay, i've found that I can change the compiler in the project settings. Still, it doesn't seems right that I can specify it in the wizard and it has no effect. What am i doing wrong?

You aren't doing anything wrong, it's broken since time immemorial. I use codelite for cross compiling. When I create a new project I always have to go in and change the compiler from g++ to to my cross compiler.
this bug was fixed 2 weeks ago

Eran