lkml.org 
[lkml]   [2001]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectplease remove min/max from kernel.h
Date

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/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.032 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site