This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: diagnostics (was: GCC 3.0 Branch: Guidelines)
On Tue, Mar 13, 2001 at 11:35:03PM +0000, Neil Booth wrote:
> Merging all these into just three functions, say
> cpp_diagnostic{_with_line,_with_line_and_file} that take a "severity"
> level (or level plus embedded flags like deprecated, extension) allows
> greater flexibility, both to GCC programmers and GCC users, whilst
> reducing code duplication at the same time.
I wonder whether the syslog(3) code from glibc is portable enough and sane
enough to use here. :-)
Phil
--
pedwards at disaster dot jaj dot com | pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools. Fools are protected by more capable fools.