How does one get gcc to not stop compiling after the first error. Is there a compiler flag that will do this?
Basically I’m wanting to remove a class, but i’m not sure how much of an impact that will have, so i’m wanting to determine how many classes would have provblems if i, say, remove the class from the makefile.
Is there a better way to determine this impact?
There’s a GCC compiler option
-Wfatal-errorsto stop after the first error:You can also use
-Werrorif you want to treat warnings as errors so that you’ll catch any warning that might be generated when you remove your class.