Subject: /* CONSTCOND */ in
To: None <>
From: Simon Burge <>
List: tech-userlevel
Date: 12/21/2000 14:23:28

Lint spits out warnings when va_arg is used, at least on alpha, arm32,
m68k and mips.  i386 is clean.

For m68k, adding a /*CONSTCOND*/ to the middle of the va_arg macro in
<m68k/stdarg.h> keeps lint quiet.  For alpha, arm32 and pmax, I needed
to add /*LINTED*/ as these have problems like:

	foo.c(75): warning: possible pointer alignment problem
	foo.c(75): warning: pointer casts may be troublesome

and there is no /*PTRCAST*/ or /*PTRALIGN*/ directives or similar.

What to do?

Simon Burge                            <>
NetBSD CDs, Support and Service: