Compiler is No Longer Clang++

General questions regarding the usage of CodeLite
saul
CodeLite Curious
Posts: 6
Joined: Fri Dec 26, 2014 3:33 pm
Genuine User: Yes
IDE Question: C++
Contact:

Compiler is No Longer Clang++

Post 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
Gibbon1
CodeLite Expert
Posts: 167
Joined: Fri Jul 22, 2011 5:32 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler is No Longer Clang++

Post 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.
User avatar
eranif
CodeLite Plugin
Posts: 6373
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Compiler is No Longer Clang++

Post 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
Make sure you have read the HOW TO POST thread
Post Reply