Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Nov 1997 04:28:28 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-current@freebsd.org, j@uriah.heep.sax.de
Subject:   Re: LINT Errors
Message-ID:  <199711101728.EAA23869@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711101728.EAA23869>