cc1plus: error: command-line option '-std=gnu23' is valid for C/ObjC but not for C++ [-Werror]
cc1plus: note: unrecognized command-line option '-Wno-newline-eof' may have been intended to silence earlier diagnostics
cc1plus: all warnings being treated as errors