[8605] in Athena Bugs

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

new rsaix C compiler barfs on code that previously worked

daemon@ATHENA.MIT.EDU (brlewis@Athena.MIT.EDU)
Fri Nov 15 15:03:50 1991

From: brlewis@Athena.MIT.EDU
Date: Fri, 15 Nov 91 15:03:54 -0500
To: bugs@Athena.MIT.EDU

Why is the C compiler on splat different from the one used to compile
the release?

If this new C compiler is used to compile later releases, the following
patch needs to be applied to
/source/athena/athena.bin/turnin/clients/return.c

*** /tmp/,RCSt1024566	Fri Nov 15 14:59:26 1991
--- return.c	Fri Nov 15 14:50:39 1991
***************
*** 47,57 ****
   * do_return -- returns papers from files
   */
  
  long
! do_return(fxp, criterion, flags)
       FX *fxp;
       Paper *criterion;
       int flags;
  {
    extern int errno;
    long code;
--- 47,59 ----
   * do_return -- returns papers from files
   */
  
+ /*ARGSUSED*/
  long
! do_return(fxp, criterion, flags, arg)
       FX *fxp;
       Paper *criterion;
       int flags;
+      char *arg;
  {
    extern int errno;
    long code;

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