[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug in sys/param.h?
From: |
Felix E. Klee |
Subject: |
Bug in sys/param.h? |
Date: |
Fri, 13 Apr 2001 20:40:10 +0200 |
Hi,
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
/usr/include/sys/param.h:57: warning: `MAX' redefined
/usr/include/glib.h:134: warning: this is the location of the
previous definition
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. Is
this a bug that is or needs to be fixed in newer versions of the files
in libc6-dev?
Thanks for any reply,
Felix
- Bug in sys/param.h?,
Felix E. Klee <=