Problems with Code::Blocks C++17 [Solved]

Правка ru4, от ivanz, 2021-09-21 19:08:37

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>

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский ivanz 2021-09-21 19:09:19 663
ru4 Русский ivanz 2021-09-21 19:08:37 72
ru3 Русский ivanz 2021-09-21 19:04:05 744
en1 Английский ivanz 2021-09-21 18:20:51 1739 Initial revision for English translation
ru2 Русский ivanz 2021-09-21 18:20:26 28
ru1 Русский ivanz 2021-09-21 18:18:16 1739 Первая редакция (опубликовано)