[7338] in Athena Bugs

home help back first fref pref prev next nref lref last post

xcalc doesn't compile on PS/2 running AIX 1.2

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Tue Mar 19 12:02:11 1991

Date: Tue, 19 Mar 91 12:01:56 -0500
From: Mark Rosenstein <mar@MIT.EDU>
To: xbugs@expo.lcs.mit.edu
Cc: bugs@MIT.EDU

[JIK, this is already fixed in our source tree.]


			  X Window System Bug Report
			    xbugs@expo.lcs.mit.edu


VERSION:
    R4

CLIENT MACHINE and OPERATING SYSTEM:
	PS/2 running AIX 1.2

DISPLAY TYPE:
	N/A

WINDOW MANAGER:
	N/A

AREA:
	clients/xcalc

SYNOPSIS:
	doesn't compile

DESCRIPTION:
	the PS/2 doesn't allow a function to have an argument with the
same name as the function.  The function e() on line 161 of action.c
fails this.

REPEAT BY:
	try to compile it.

SAMPLE FIX:
*** /tmp/,RCSt1001963   Tue Mar 19 12:01:14 1991
--- actions.c   Tue Mar 19 11:56:32 1991
***************
*** 159,167 ****
  }

  /*ARGSUSED*/
! void e(w, e, vector, count)
      Widget    w;
!     XEvent    *e;
      String    *vector;
      Cardinal  *count;
  {
--- 159,167 ----
  }

  /*ARGSUSED*/
! void e(w, ev, vector, count)
      Widget    w;
!     XEvent    *ev;
      String    *vector;
      Cardinal  *count;
  {

home help back first fref pref prev next nref lref last post