Top "Gcc8" questions

GCC 8 is a major release of the GNU Compiler collection first released in 2018.

gcc-8 -Wstringop-truncation what is the good practice?

GCC 8 added a -Wstringop-truncation warning. From https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82944 : The -Wstringop-truncation warning added in …

c++ gcc strncpy gcc8
strncat Wformat-overflow warning when using gcc 8.2.1

I'm using gcc 8.2.1 and trying to build this code: std::string dir = "Documents"; char * _tempname = static_cast <char*> (…

c++ string gcc gcc-warning gcc8
C++17 filesystem using nuwen MinGW on Windows 10

I wanted to try out the new filesystem library in C++17, so tried copying the std::filesystem::current_path example …

c++ windows-10 c++17 mingw-w64 gcc8