[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in sys/param.h?
From: |
Wolfram Gloger |
Subject: |
Re: Bug in sys/param.h? |
Date: |
15 Apr 2001 10:03:29 -0000 |
Hello,
> 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?
> 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'?
> 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).
Regards,
Wolfram.