Subject: Re: xdr_float.c?
To: Simon Burge <simonb@telstra.com.au>
From: Aaron J. Grier <agrier@poofy.goof.com>
List: port-pmax
Date: 03/29/1999 23:51:27
On Mon, Mar 29, 1999 at 09:23:47PM -0800, Aaron J. Grier wrote:

> Ahh, sorry, it's lint that's causing problems, not cc:

Figured out what the problem is, but I don't know how to fix it:

bombadil:~$ lint -chapbxzVF -D_LIBC -DNLS -DYP -DHESIOD -DLIBC_SCCS \
	-DSYSLIBC_SCCS -D_REENTRANT \
	-I/usr/local/src/NetBSD/src/lib/libc/include \
	-D__DBINTERFACE_PRIVATE -DRESOLVSORT \
	-I. -DPOSIX_MISTAKE -DFLOATING_POINT -i \
	/amd/goldberry/usr/local/src/NetBSD/src/lib/libc/stdlib/strtod.c

/usr/libexec/cpp -lang-c -undef -$ -CC -Wcomment -D__NetBSD__ -Dlint \
	-D__lint -D__lint__ -D__unix -D__unix__ -D__pmax \
	-D__pmax__ -D__mipsel -D__mipsel__ -D_LIBC -DNLS -DYP \
	-DHESIOD -DLIBC_SCCS -DSYSLIBC_SCCS -D_REENTRANT \
	-I/usr/local/src/NetBSD/src/lib/libc/include \
	-D__DBINTERFACE_PRIVATE -DRESOLVSORT -I. -DPOSIX_MISTAKE \
	-DFLOATING_POINT -Wtraditional -Dpmax -Dmipsel \
	/amd/goldberry/usr/local/src/NetBSD/src/lib/libc/stdlib/strtod.c \
	/tmp/lint0.06440a
[SNIP]

lint is only calling the preprocessor with -D__mipsel__ instead of
-D__mips__.

time to poke around in xlint.c?

----
  Aaron J. Grier | "Not your ordinary poofy goof." | agrier@poofy.goof.com
	   I do not support US and NATO "police actions" in Bosnia.