bug-glibc
[Top][All Lists]
Advanced

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

Re: Bug in sys/param.h?


From: Felix E. Klee
Subject: Re: Bug in sys/param.h?
Date: Sun, 15 Apr 2001 18:26:06 +0200

Wolfram Gloger wrote:
> I have the libglib1.2-dev and the libc6-dev package installed on my
> > Debian 2.2r2 system. However when I compile files which use both
> > "/usr/include/glib.h" from libglib1.2-dev and "/usr/include/sys/param.h"
> > from libc6-dev, I get the following error messages:
> >   /usr/include/sys/param.h:56: warning: `MIN' redefined
> >   /usr/include/glib.h:137: warning: this is the location of the
> >   previous definition
> 
> Hmm, this is just a warning, not an error message, no?

Yes, just a warning, but avoidable.

> > When looking in glib.h one sees that no check is performed whether MIN
> > and MAX already exist whereas in param.h this is done via #undef.
> 
> You mean `in param.h this is _not_ done via #undef'?

Yes, #undef is used in glib.h but not in param.h.

> > this a bug that is or needs to be fixed in newer versions of the files
> > in libc6-dev?
> 
> I don't think so, as it is no error and sys/param.h is not
> standardized anyway (at least I could find no specification).

What do you mean by that? Where should I send my complaints?

Felix



reply via email to

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