please remove min/max from kernel.h

From: Herbert Rosmanith (herp@wildsau.idv-edu.uni-linz.ac.at)
Date: Sun Aug 19 2001 - 05:56:21 EST


hi,

I found that those 3-argumented macros min/max in linux/kernel.h wont
only break my modules, but others as well, e.g. I tried to compile
2.4.9 with IPSec (Freeswan). It gives me:

  : make[1]: Leaving directory `/data/root/linux-2.4.9'
  : utils/errcheck out.kbuild
  :
  : ***ERRORS DETECTED in out.kbuild (examine file for details):
  : radij.c:274: parse error before `__x'
  : make[4]: *** [radij.o] Error 1

"__x". does that ring a bell? let's please have min/max macros with
two arguments only as god wanted them to have and get rid of the
three-eyed zyclops, who only exists in greek mythology. for my part,
I will #undef min, #undef max anyway.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Aug 23 2001 - 21:00:30 EST