Author Topic: Building C::B with wx3.3  (Read 417 times)

Offline wtfisgoingoff

  • Multiple posting newcomer
  • *
  • Posts: 30
Building C::B with wx3.3
« on: August 05, 2025, 04:40:11 pm »
What is CB_CPP_STD ?  What value shoud I set it to?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7792
    • My Best Post
Re: Building C::B with wx3.3
« Reply #1 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.
C Programmer working to learn more about C++ and Git.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Miguel Gimenez

  • Developer
  • Lives here!
  • *****
  • Posts: 1747
Re: Building C::B with wx3.3
« Reply #2 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
« Last Edit: August 05, 2025, 07:26:58 pm by Miguel Gimenez »

Offline wtfisgoingoff

  • Multiple posting newcomer
  • *
  • Posts: 30
Re: Building C::B with wx3.3
« Reply #3 on: Yesterday at 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.

Offline Frank_CB

  • Almost regular
  • **
  • Posts: 154
Re: Building C::B with wx3.3
« Reply #4 on: Yesterday at 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 ?