[4.5] Make cpplib use compiler's diagnostic.c

Paolo Bonzini bonzini@gnu.org
Wed Feb 11 10:05:00 GMT 2009


Joseph S. Myers wrote:
> The fourth is removed by this patch as
> unused experimental code; if someone has an actual use for it, it can
> be added back and updated at the point where the use for it is added.

The use for makedepend should have been to implement automatic
dependency generation for gcc.  This was reverted because of a GNU make
bug.  It was also meant as an example of libcpp since its API is not
documented at all.

Since it inhibits errors and warnings, and so does not require any
callback, fixing it might have been a smaller task than removing it...
are you committing this patch to your 4.5 C branch?  If so, can you
please just commit the Makefile.in hunk and leave makedepend.c in, so
that I can follow up and fix it?

Paolo



More information about the Gcc-patches mailing list