[Top][All Lists]

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

Re: [bug-gnulib] gcc -Wall warning for minmax.h

From: Oskar Liljeblad
Subject: Re: [bug-gnulib] gcc -Wall warning for minmax.h
Date: Sat, 14 May 2005 00:31:20 +0200
User-agent: Mutt/1.5.9i

On Friday, May 13, 2005 at 18:54, Derek Price wrote:
> /usr/include/sys/param.h:222: warning: `MIN' redefined
> /usr/include/sys/param.h:223: warning: `MAX' redefined
> minmax was so nice and small, but would you be willing to add an m4 file
> which called AC_CHECK_HEADERS([sys/param.h]) and the following lines to
> the beginning of minmax.h?
> I'll send the complete patch if you approve.

GNU libc <sys/param.h> also has MIN/MAX macros, so a check for
that header file might be useful.


Oskar Liljeblad (address@hidden)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]