Subject: Re: newfs compilation fails
To: None <>
From: None <>
List: current-users
Date: 07/05/1997 11:21:42
Thus spake
> it seems that the mount sources aren't ready for WARNS=1.
> As a workaround I've commented out the setting of WARNS in newfs'
> Makefile.  This is with freshly SUPed sources as of yesterday.

The actual fixes seem almost as simple.

> cc1: warnings being treated as errors
> /usr/src/sbin/newfs/../mount/getmntopts.c: In function `getmntopts':
> /usr/src/sbin/newfs/../mount/getmntopts.c:67: warning: null format string

Just change the argument to "" instead of NULL.

> /usr/src/sbin/newfs/../mount/getmntopts.c: At top level:
> /usr/src/sbin/newfs/../mount/getmntopts.c:40: warning: `rcsid' defined but not used

Use the __RCSID macro.  See /usr/src/sbin/disklabel/disklabel.c for an
example.  See /usr/include/sys/cdefs.h if you want to know the details.

D'Arcy J.M. Cain                           |  Democracy is three wolves
darcy@{|}                  |  and a sheep voting on         
+1 416 424 2871     (DoD#0082)    (eNTP)   |  what's for dinner.
                --  --