I feel like most CS students these days would massively benefit from -Wall -Werror and maybe even -Wextra -Wpedantic. However, I also fear that most programs provided by textbooks and professors will generate warnings, so there's an education problem involved here as well.
My data structures and algorithms class had an autograder that compiled using those bad boys. I definitely didn't use them and got rejected on the AG a few times because I'd have errors that only those flags would catch. we weren't really given any starter code though, so your second point may be too true lol
10
u/Rangsk Jan 05 '19
I feel like most CS students these days would massively benefit from
-Wall -Werrorand maybe even-Wextra -Wpedantic. However, I also fear that most programs provided by textbooks and professors will generate warnings, so there's an education problem involved here as well.