[comp.lang.c] Weird "lint -C" behavior

jwp@larry.UUCP (Jeffrey W Percival) (12/15/88)

I am using ULTRIX v. 2.x on a MicroVAX II.

I wanted a version of "atoi" that recognizes C style numbers like 0x3f,
so I modified an old atoi.c and called it "ctoi.c".  When I type

	lint -Cfoo ctoi.c

everything is cool.  When I type

	lint -Cjwp ctoi.c

I get these messages:

	ctoi.c:
	_ctype_ used( llib-ljwp:ctoi.c(59) ), but not defined
	_iob used( llib-port(25) ), but not defined

What causes such a thing?  "jwp" happens to be my login name, so
is something in the environment interfering with this simple task?
-- 
Jeff Percival (jwp@larry.sal.wisc.edu)

chris@mimsy.UUCP (Chris Torek) (12/18/88)

In article <475@larry.UUCP> jwp@larry.UUCP (Jeffrey W Percival) writes:
>ULTRIX v. 2.x ....  lint -Cjwp ctoi.c ...
>	_iob used( llib-port(25) ), but not defined
>What causes such a thing?

The `llib-port' is a giveaway:  Your lint front-end is a shell script
that has something of the form

	case -*p*)

to set the `use the ``port'' lint library rather than the regular C
library' flag.

Complain to DEC.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7163)
Domain:	chris@mimsy.umd.edu	Path:	uunet!mimsy!chris