Author Topic: What version of C++ does the installer (w/ mingw32) have?  (Read 6366 times)

Offline creativegamer_03

  • Single posting newcomer
  • *
  • Posts: 8
  • </CG03>
What version of C++ does the installer (w/ mingw32) have?
« on: September 09, 2021, 03:53:14 pm »
There are C++20 features and libraries that my current CodeBlocks installation [20.03] doesn't have, causing a "no such file or directory" error on those "#include" statements in a third-party header file that my program uses, specifically "stduuid".
[bold]List of those #include statements that causes errors[/bold]
- #include <string_view>
- #include <optional>
- #include <span>
So I'm curious what version of C++ does my C::B installation have, since it also has the MinGW GCC compiler installation shipped with. The version of the compiler btw is 8.1.0.
{"c":['creative', 'coder'],
"g":"gamer",
"n":03
"forum":"codeblocks"}

Online stahta01

  • Lives here!
  • ****
  • Posts: 7582
    • My Best Post
Re: What version of C++ does the installer (w/ mingw32) have?
« Reply #1 on: September 09, 2021, 04:35:21 pm »
This is not realy an Code::Blocks question.

https://gcc.gnu.org/projects/cxx-status.html

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline AndrewCot

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 678
Re: What version of C++ does the installer (w/ mingw32) have?
« Reply #2 on: September 10, 2021, 05:12:40 am »
In addition to checking out the GNU page,  I would also suggest you have a look at the following as it goes through setting up a project and compiling a sample program.

http://www.sci.brooklyn.cuny.edu/~goetz/codeblocks/codeblocks-instructions.pdf