[9653] in Athena Bugs
Re: decmips 7.4G: C
daemon@ATHENA.MIT.EDU (Jonathan I. Kamens)
Fri Jul 17 17:19:58 1992
Date: Fri, 17 Jul 92 17:19:47 -0400
From: "Jonathan I. Kamens" <jik@pit-manager.MIT.EDU>
To: Gilbert Leung <gleung@Athena.MIT.EDU>
Cc: bugs@Athena.MIT.EDU
In-Reply-To: [9652]
I'm afraid the compiler is probably correct in this case.
The code that is having trouble compiling uses the label "strchr" as a
variable name.
This is a VERY bad idea, since many C libraries contain a routine
called "strchr", and many header files (including ximcompat.h in the
xim sources) do "#define strchr index" to avoid problems.
I suggest you change the code so that it uses a different variable
name, and forward your patch back to the authors of the code.
Jonathan Kamens
IS/Athena Quality Assurance