LukasScheucher / include-what-you-use

Automatically exported from code.google.com/p/include-what-you-use
Other
0 stars 0 forks source link

Feature request - command line argument --log-file #29

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In my setup clang produces a gigantic list  of errors and warnings even though 
gcc does not. Clang's warnings can be suppressed with command line parameter 
but unfortunately not the errors. In such output it is difficult to locate the 
messages produced by iwyu. It would be very helpful if iwyu had a command line 
parameter  for a log file, for ex. --log-file.

Here are the command lines params I am currently using:

make -k CXX="/include-what-you-use -w -ferror-limit=0" 

-w suppresses warnings; ferror-limit  is needed so clang does not about after 
the max of error messages is used.

Original issue reported on code.google.com by emarin...@gmail.com on 9 Apr 2011 at 12:10

GoogleCodeExporter commented 8 years ago
Issue 30 has been merged into this issue.

Original comment by csilv...@gmail.com on 9 Apr 2011 at 2:53

GoogleCodeExporter commented 8 years ago
Hmm, I'm not convinced how useful iwyu is going to be if clang is giving a lot 
of errors.  iwyu requires a clean clang compile to give useful results.  Are 
you really finding the iwyu results to be useful anyway?  I'd be curious how. 
:-)

Anyway, unless there's more evidence that iwyu is useful even with verbose 
clang output (because of errors), I'm not convinced about the value of the 
added flag.

Original comment by csilv...@gmail.com on 9 Apr 2011 at 3:08

GoogleCodeExporter commented 8 years ago
I haven't heard anything in a while, so I'm closing this.  Feel free to reopen 
if you'd still like to see this functionality.

Original comment by csilv...@gmail.com on 25 Oct 2011 at 1:06