cvs commit: src/usr.bin/chat Makefile

Bruce Evans bde at zeta.org.au
Sun Oct 26 01:36:55 PDT 2003


On Sat, 25 Oct 2003, Tim Kientzle wrote:

> > On Sat, 25 Oct 2003, Peter Wemm wrote:
> >>peter       2003/10/25 21:49:58 PDT
> >>
> >>  FreeBSD src repository
> >>
> >>  Modified files:
> >>    usr.bin/chat         Makefile
> >>  Log:
> >>  The math function logf() probably isn't doing us much good for logging
> >>  stuff.  Add -fno-builtin-logf.
>
> Rather than commit ugly Makefile hacks like
> this, just rename the damned function and
> be done with it.

Hmm.  logf() is an extern function so it was reserved in C90.  Oherwise
there is nothing wrong with its name.  Making it static would fix the
immediate problem.  The gcc bug doesn't show up until WARNS >=4 gives
-Wshadow.

Bruce


More information about the cvs-all mailing list