Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Report errors before warnings. #4440
Original bug ID: 4440
It would be nice if the compiler could report errors before warnings.
During debuging sessions I sometimes have warnings -- e.g. unused variables because portions of the code were commented out. But when the code refuses to compile these warnings are usually printed before the error. In the emacs mode, using C-x ' (goto next error), this means going through all the warnings before getting to the error. This is annoying.
Comment author: @damiendoligez
I have added (in the 3.11 branch) an emacs-lisp function:
You just need to bind this function to a key of your choice.
If you need the functionality before 3.11.0 is out, you can