Page 1 of 1

How do i set copiler options in codelite 12?

Posted: Fri Sep 14, 2018 2:08 pm
by arachnoid
Hi,

i'm having trouble with to_string(int) while compiling using mingw 64.

I'm sure that the issue is that i need to pass down -std=c++11 to the compiler. All the previous answers i've found to this involve either checking the required item in the list of available compiler options or editing the command line args. eg https://stackoverflow.com/questions/287 ... n-codelite when i go to the compiler options tab in 12.0.0 I get a list of all the available options but no check box and no display of the command line args. How do i select compiler options from the list provided in the build settings? How do i see which compiler options are currently in use?

Thanks for your help

Russ

Re: How do i set copiler options in codelite 12?

Posted: Fri Sep 14, 2018 5:29 pm
by eranif
Right click on your project (usually, its a blue folder) -> settings -> compilers page -> c++ compiler options
Click the [...] button and add the option "Enable C++ 11 features"

Re: How do i set copiler options in codelite 12?

Posted: Wed Oct 24, 2018 9:35 am
by arachnoid
Thanks for this Eranif.

Sorry for the late response, I thought I'd replied before.

I was confused looking at a list of the possible options. I hadn't realised these options were set at a project level.

Thanks again,

Russell