0

Currently learning C++ and I was told to disable compiler extensions, I've searched all over and have found nothing regarding disabling them for code::blocks

Ch3steR
  • 20,090
  • 4
  • 28
  • 58
  • 1
    Which extensions? And which compiler? (I don't know the answer to this question, but the people who do will need this information). Also, it might not be possible anyway, see: https://stackoverflow.com/questions/72281343/disable-every-single-gcc-extensions-c – Paul Sanders May 27 '22 at 14:46
  • Code::blocks does not come with compiler. You have to install a compiler separately, and then CB will use it. So, pick a compiler (gcc, clang, ...) and then research on its extensions and how to disable them. – Dialecticus May 27 '22 at 14:48
  • im using g++ with code::blocks @Dialecticus –  May 27 '22 at 14:51
  • GNU extension @PaulSanders –  May 27 '22 at 14:51
  • 1
    Configure Code::Blocks for `g++` to use `-pedantic -std=c++17` – Eljay May 27 '22 at 14:56

0 Answers0