News:

As usual while waiting for the next release - don't forget to check the nightly builds in the forum.

Main Menu

What version of C++ does the installer (w/ mingw32) have?

Started by creativegamer_03, September 09, 2021, 03:53:14 PM

Previous topic - Next topic

creativegamer_03

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"}

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

AndrewCot

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