Problems with Code::Blocks C++17

Revision en2, by ivanz, 2021-09-21 19:09:19

Hello! I ran into a following problem. I downloaded Code::Blocks 20.03 MinGW version here. If I select C++14 and try to compile program using bits/stdc++ everything is OK.

But when I select C++17 a mistake occurs:

If I don't use bits/stdc++.h but include the libraries separately everything works with C++14 and with C++17. So the problem is exactly in this library. What I need to do to make bits/stdc++ working with C++17?

UPD: this helps:
#define _GLIBCXX_FILESYSTEM
#include <bits/stdc++.h>

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English ivanz 2021-09-21 19:09:19 663
ru4 Russian ivanz 2021-09-21 19:08:37 72
ru3 Russian ivanz 2021-09-21 19:04:05 744
en1 English ivanz 2021-09-21 18:20:51 1739 Initial revision for English translation
ru2 Russian ivanz 2021-09-21 18:20:26 28
ru1 Russian ivanz 2021-09-21 18:18:16 1739 Первая редакция (опубликовано)