gcc -wall -w -werror hello.cpp -o hello
show me : gcc: error: unrecognized command line option ‘-wall’ ,and ==> gcc: error: unrecognized command line option ‘-werror’
gcc -wall -w -werror hello.cpp -o hello
show me : gcc: error: unrecognized command line option ‘-wall’ ,and ==> gcc: error: unrecognized command line option ‘-werror’
Copyright © 2021 Jogjafile Inc.
Try -Wall with captial W. The command line options are case senstive.
And for the werror, use -Werror with captial W
https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html