Questions tagged [gcc9]

GCC 9 is a major release of the GNU Compiler collection first released in 2019.

Version 9.1 was released on 2019-05-03. Version 9.3 was released on 2020-03-12.

See also:

46 questions
0
votes
1 answer

Filename c_str() corruption when using directory_iterator

When going over all files in a directory with directory_iterator storing the c_str() name of a file before using it leads invalid reads (and garbage output). This seems quite odd to me. Code examples: Working: #include #include…
user3818491
  • 498
  • 1
  • 6
  • 16
1 2 3
4