From owner-freebsd-current Mon Mar 25 05:50:53 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id FAA24875 for current-outgoing; Mon, 25 Mar 1996 05:50:53 -0800 (PST) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id FAA24869 for ; Mon, 25 Mar 1996 05:50:48 -0800 (PST) Received: (from bde@localhost) by godzilla.zeta.org.au (8.6.12/8.6.9) id AAA16328; Tue, 26 Mar 1996 00:48:21 +1100 Date: Tue, 26 Mar 1996 00:48:21 +1100 From: Bruce Evans Message-Id: <199603251348.AAA16328@godzilla.zeta.org.au> To: freebsd-current@FreeBSD.org, j@uriah.heep.sax.de Subject: Re: lint Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk >> The problem is limited by another one: `lint -g' doesn't define __GNUC__, >> so it doesn't lint the same code that gcc would compile. >Have you discusses this with Jochen Pohl? I discussed related things (a long time ago after you first committed xlint). The args passed to cpp are fairly obvious in xlint.c. The other missing defines are: __GNUC_MINOR__ i386, __i386, __i386__ and anything in the user's specs file (which we don't support). Bruce