What is CB_CPP_STD ? What value shoud I set it to?
Quote from: wtfisgoingoff on August 05, 2025, 04:40:11 PM
What is CB_CPP_STD ? What value shoud I set it to?
From the name I would try "17" to see if it works. My guess is C++ library standard.
Tim S.
Morten mentions in the commit setting it to
-std=gnu++20
EDIT: I will use -std=gnu++11
Quote from: Miguel Gimenez on August 05, 2025, 07:15:18 PM
Morten mentions in the commit setting it to
-std=gnu++20
EDIT: I will use -std=gnu++11
Thx. It worked.
The Codeblocks IDE is asking for a definition for CB_CPP_STD in the Global Variables screen ? How is it defined, where is it defined and what is the correct definition ?
Have you read the previous posts in this thread?
I've read the thread several times. Three different suggestions, but nothing says how to define it within the IDE. The IDE (13670) is prompting for a definition in the Global Variables, and if it isn't correct the compilation fails. Am attempting to build svn version 13696 from source.
Just define it in the prompt, see attachment
@Miguel Gimenez
The information in the attachment is exactly what I needed ! Thanks !! ;D ;D
I add a line in the wiki document here:
https://wiki.codeblocks.org/index.php/Installing_Code::Blocks_from_source_on_Windows#Open_project
Hopefully it will help others. :)