From owner-freebsd-current Mon Nov 10 09:30:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA13277 for current-outgoing; Mon, 10 Nov 1997 09:30:50 -0800 (PST) (envelope-from owner-freebsd-current) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA13259 for ; Mon, 10 Nov 1997 09:30:45 -0800 (PST) (envelope-from bde@zeta.org.au) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.7/8.6.9) id EAA23869; Tue, 11 Nov 1997 04:28:28 +1100 Date: Tue, 11 Nov 1997 04:28:28 +1100 From: Bruce Evans Message-Id: <199711101728.EAA23869@godzilla.zeta.org.au> To: freebsd-current@freebsd.org, j@uriah.heep.sax.de Subject: Re: LINT Errors Sender: owner-freebsd-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >do pass constant strings for it all the day. gcc doesn't seem to warn >if you pass a string literal (albeit its arranging for the string >literal to be in the .text segment). Use -Wwrite-strings to get a warning for this. Bruce