You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As you can see, the file where the error output from g++ is redirected is added to the argument list.
When my linter call g++ with this argument list, it will obviously get errors.
Since the 'error_build.txt' file isn't really part of the g++ argument list, I was expecting that compiledb wouldn't list it.
The text was updated successfully, but these errors were encountered:
I have a Makefile with a build rule similar to this one :
I redirect the error output from g++ to a file for parsing purpose by custom tools.
When I invoke
compiledb
on this Makefile, I end up with someting like the following :As you can see, the file where the error output from g++ is redirected is added to the argument list.
When my linter call g++ with this argument list, it will obviously get errors.
Since the 'error_build.txt' file isn't really part of the g++ argument list, I was expecting that compiledb wouldn't list it.
The text was updated successfully, but these errors were encountered: