This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
RE: 'i' undeclared?! YOURE undeclared! The whole freakingsystem isu ndeclared!
- To: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Subject: RE: 'i' undeclared?! YOURE undeclared! The whole freakingsystem isu ndeclared!
- From: "Federspiel, Charles" <Charles dot Federspiel at hbo dot com>
- Date: Thu, 8 Mar 2001 02:57:17 -0500
Thanks.
I moved all the declarations to the top of the func,
and defined image_buffer using malloc, and it compiles and runs.
Thanks again
chuck
-----Original Message-----
From: Alexandre Oliva
To: Federspiel, Charles
Cc: 'gcc-help@gcc.gnu.org'
Sent: 3/8/01 1:36 AM
Subject: Re: 'i' undeclared?! YOURE undeclared! The whole freaking system
isu ndeclared!
On Mar 8, 2001, "Federspiel, Charles" <Charles.Federspiel@hbo.com>
wrote:
> There are no declarations outside the blocks.
There are statements before the declaration of `i'. This is
ill-formed, and that's what GCC is complaining about.
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
==============================================================================
This e-mail is intended only for the use of the addressees. Any copying, forwarding, printing or other use of this e-mail by persons other than the addressees is not authorized. This e-mail may contain information that is privileged, confidential and exempt from disclosure. If you are not the intended recipient, please notify us immediately by return e-mail (including the original message in your reply) and then delete and discard all copies of the e-mail. Thank you.