Please subscribe to the official Codeforces channel in Telegram via the link ×

Problems with Code::Blocks C++17

Revision en2, by Crescendo, 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:
#include <bits/stdc++.h>


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