DS 3100/Xwindows bug

Ken Lee klee at chico.pa.dec.com
Tue Nov 28 08:53:42 AEST 1989


In article <7842 at bunny.GTE.COM>, krs0 at GTE.COM (Rod Stephens) writes:
> After an unhelpful call to software support and much fiddling around,
> he narrowed the problem down to a variable named "index". He changed
> the variable's name to something else and all worked fine. It seemed
> as if there might be some C language or system internal variable named
> "index" and that his "index" was getting confused with this one.

Type "man 3 index".  index() is a commonly used UNIX string handling
routine.  If you have your own external variable called index, your
linker will get really confused.

Ken Lee
DEC Western Software Laboratory, Palo Alto, Calif.
Internet: klee at decwrl.dec.com
uucp: uunet!decwrl!klee



More information about the Comp.unix.ultrix mailing list