Re: redundant error output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



John Boncek <jboncek@xxxxxxxxxx> writes:

> The second line in the error output below seems quite redundant (the first
> line already says essentially the same thing).  Is there a way to suppress
> or omit it?
>
> Cal/FieldCal/CalResultFiles.cpp(53): error: `_tcscpy_s' undeclared (first
> use this function)
> Cal/FieldCal/CalResultFiles.cpp(53): error: (Each undeclared identifier is
> reported only once for each function it appears in.)
>
> This adds unnecessary bloat to the output of a big compile when there are a
> number of undefined symbols.

There is no gcc option to disable this helpful note (which only appears
once per invocation of gcc).  One approach I've seen people use is to
use a little shell script to run gcc and pass the stderr output through
a sed script to eliminate that error line.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux