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
How do i set copiler options in codelite 12?
-
- CodeLite Curious
- Posts: 4
- Joined: Fri Sep 14, 2018 12:35 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: How do i set copiler options in codelite 12?
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"
Click the [...] button and add the option "Enable C++ 11 features"
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 4
- Joined: Fri Sep 14, 2018 12:35 pm
- Genuine User: Yes
- IDE Question: c++
- Contact:
Re: How do i set copiler options in codelite 12?
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
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