Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 16 Nov 1996 10:54:26 PST
From:      Bill Fenner <fenner@parc.xerox.com>
To:        stable@freebsd.org
Subject:   RELENG_2_1_0 LINT doesn't build?
Message-ID:  <96Nov16.105437pst.177557@crevenia.parc.xerox.com>

next in thread | raw e-mail | index | archive | help
Have people been checking their commits to -stable?  LINT has
options               "MAXMEM=(128*1024)"
which "make depend" chokes on, "MAXMEM='(128*1024)'" works, though.
I dunno if that'll work later in the compilation phase.

Once I get past that, I quickly hit

../../dev/vx/if_vx.c: In function `vxioctl':
../../dev/vx/if_vx.c:891: parse error before `register'
../../dev/vx/if_vx.c:893: `ina' undeclared (first use this function)
../../dev/vx/if_vx.c:893: (Each undeclared identifier is reported only once
../../dev/vx/if_vx.c:893: for each function it appears in.)

Case statements are not blocks, you can't declare a variable after a case
label unless you create a block for that variable's scope.  If gcc-2.7.2
lets you do this, it's C++ semantics seeping through and we shouldn't take
advantage of it.

We'll see what comes up after this one...

  Bill



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96Nov16.105437pst.177557>