Aaron Lehmann wrote:

> ... I would
> suggest using the -nostdinc option, but plex86's kernel side seems to
> use things like <stdarg.h> (although - isn't it bad form to every use
> libc headers in kernel space?).

I needed the va_start macro etc from stdarg.h for variable args
handling.  This is in stdarg.h, which is in a separate GCC supplied
directory.  Since the first thing that kernel.h in the Linux kernel
does is include <stdarg.h>, I can't imagine it's bad practice to
use it.

Also some drivers include this too, I noticed.

-Kevin

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Kevin Lawton                        [EMAIL PROTECTED]
MandrakeSoft, Inc.                  Plex86 developer
http://www.linux-mandrake.com/      http://www.plex86.org/

Reply via email to