Closed
Description
Describe the bug
The existing regex has a few crucial blind spots when it comes to error reporting.
It cannot capture any errors that are generated by the compiler for the validity of the arguments, the preprocessor includes, missing linting symbols, etc.
These errors take the form:
binary-name: severity: message
To Reproduce
adding invalid include directories in linterinclude dirs should yield a -Wmissing-include-dirs
warning
similarly adding too many input arguments (you can achieve that by using massive glob patterns for includes '/usr/include/', '/usr/lib/') should throw a fatal error
gfortran: fatal error: cannot execute '/usr/lib/gcc/x86_64-linux-gnu/9/f951': execv: Argument list too long.
Expected behavior
capture errors
Screenshots
If applicable, add screenshots to help explain your problem.
Build info (please complete the following information):
- OS: all
- Extension Version: all
- Visual Studio Code Version: all