Date: Mon, 21 Aug 2000 22:10:07 -0700 (PDT) From: Mark.Andrews@nominum.com To: freebsd-bugs@FreeBSD.org Subject: Re: gnu/20767: gcc const produces invalid warning Message-ID: <200008220510.WAA58012@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR gnu/20767; it has been noted by GNATS. From: Mark.Andrews@nominum.com To: "Philip M. Gollucci" <gollucci@wam.umd.edu> Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: gnu/20767: gcc const produces invalid warning Date: Tue, 22 Aug 2000 15:03:17 +1000 > Acutally shouldn't it.... > Don't you want *argv ? No. Remove all the consts and it is clearer. e.g. f(char **args); > as just argv implies the array of command line > arguments instead of any single character string ! > > I could be wrong, if you do use the * it works fine with no warning and > -Wall option as well. > -- Mark Andrews, Nominum Inc. 1 Seymour St., Dundas Valley, NSW 2117, Australia PHONE: +61 2 9871 4742 INTERNET: Mark.Andrews@nominum.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200008220510.WAA58012>