Date: Tue, 30 Apr 2002 06:23:06 -0700 (PDT) From: Francis Jordan <francrj@yahoo.com> To: freebsd-chat@freebsd.org Subject: strange gcc warning Message-ID: <20020430132306.1282.qmail@web20405.mail.yahoo.com>
next in thread | raw e-mail | index | archive | help
This may seem like a newbie question, but still -- why
does the following produce a warning:
void
foo(const int b[8][8])
{
}
int
main(int argc, char *argv[])
{
int b[8][8];
foo(b);
return 0;
}
test.c:11: warning: passing arg 1 of `foo' from
incompatible pointer type
Thanks
FRJ
__________________________________________________
Do You Yahoo!?
Yahoo! Health - your guide to health and wellness
http://health.yahoo.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020430132306.1282.qmail>
