Code::Blocks Forums

User forums => Help => Topic started by: wtfisgoingoff on August 05, 2025, 04:40:11 pm

Title: Building C::B with wx3.3
Post by: wtfisgoingoff on August 05, 2025, 04:40:11 pm
What is CB_CPP_STD ?  What value shoud I set it to?
Title: Re: Building C::B with wx3.3
Post by: stahta01 on August 05, 2025, 05:01:05 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.
Title: Re: Building C::B with wx3.3
Post by: Miguel Gimenez on August 05, 2025, 07:15:18 pm
Morten mentions in the commit setting it to
Code
-std=gnu++20

EDIT: I will use -std=gnu++11
Title: Re: Building C::B with wx3.3
Post by: wtfisgoingoff on August 06, 2025, 05:40:51 am
Morten mentions in the commit setting it to
Code
-std=gnu++20

EDIT: I will use -std=gnu++11
Thx. It worked.
Title: Re: Building C::B with wx3.3
Post by: Frank_CB on August 06, 2025, 11:28:17 pm
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 ?