Subject: Re: /* CONSTCOND */ in
To: None <>
From: Christos Zoulas <>
List: tech-userlevel
Date: 01/02/2001 20:44:00
In article <>,
Simon Burge <> wrote:
>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?

cast to void * first.