Author Topic: Compiler Settings: limited to C++ 14 standard  (Read 4554 times)

Offline kakas

  • Multiple posting newcomer
  • *
  • Posts: 25
  • potatoes are tasty(not the raw ones)
Compiler Settings: limited to C++ 14 standard
« on: April 14, 2024, 07:38:09 am »
I just found out that in the "Compiler Flags" section of the compiler settings, the c++ standard goes up only to C++ 14.
Thought I have latest gnu compilers installed.
It's the same with both nightly build(April 1st 2024) and stable release of CB.

Offline blauzahn

  • Almost regular
  • **
  • Posts: 179
Re: Compiler Settings: limited to C++ 14 standard
« Reply #1 on: April 14, 2024, 08:13:10 am »
Strange. Nevertheless, you can always add flags (e.g. -std=c++20 or more warnings) in other compiler options.

I use cb under Linux only and have newer standards listed for years.

Offline nenin

  • Almost regular
  • **
  • Posts: 228
Re: Compiler Settings: limited to C++ 14 standard
« Reply #2 on: April 14, 2024, 11:47:27 am »
I just found out that in the "Compiler Flags" section of the compiler settings, the c++ standard goes up only to C++ 14.
Thought I have latest gnu compilers installed.
It's the same with both nightly build(April 1st 2024) and stable release of CB.
You can directly introduce any options supported by compiler in "Other compiler options". "Compiler Flags" is outdated and missing some important flags like "-march=x86-64-v2" [/b]

Offline kakas

  • Multiple posting newcomer
  • *
  • Posts: 25
  • potatoes are tasty(not the raw ones)
Re: Compiler Settings: limited to C++ 14 standard
« Reply #3 on: April 14, 2024, 05:14:55 pm »
You can directly introduce any options supported by compiler in "Other compiler options". "Compiler Flags" is outdated and missing some important flags like "-march=x86-64-v2" [/b]
oh, I see
I wonder if this should be reported as a bug somewhere :-\
« Last Edit: April 14, 2024, 05:21:22 pm by kakas »

Offline kakas

  • Multiple posting newcomer
  • *
  • Posts: 25
  • potatoes are tasty(not the raw ones)
Re: Compiler Settings: limited to C++ 14 standard
« Reply #4 on: April 14, 2024, 05:19:31 pm »
Strange. Nevertheless, you can always add flags (e.g. -std=c++20 or more warnings) in other compiler options.

I use cb under Linux only and have newer standards listed for years.
yea, I just used to ignore flags in tutorials/guides thinking I just have some outdated piece of software.

It might be just a windows thing.

Offline nenin

  • Almost regular
  • **
  • Posts: 228
Re: Compiler Settings: limited to C++ 14 standard
« Reply #5 on: April 15, 2024, 07:25:57 am »
You can directly introduce any options supported by compiler in "Other compiler options". "Compiler Flags" is outdated and missing some important flags like "-march=x86-64-v2" [/b]
oh, I see
I wonder if this should be reported as a bug somewhere :-\
In nighties I have standard support up to C++ 2020 and C 2017. But there are so many other flags for the the GCC...