Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: creativegamer_03 on September 09, 2021, 03:53:14 pm

Title: What version of C++ does the installer (w/ mingw32) have?
Post by: creativegamer_03 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.
Title: Re: What version of C++ does the installer (w/ mingw32) have?
Post by: stahta01 on September 09, 2021, 04:35:21 pm
This is not realy an Code::Blocks question.

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

Tim S.
Title: Re: What version of C++ does the installer (w/ mingw32) have?
Post by: AndrewCot 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