This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: 'i' undeclared?! YOURE undeclared! The whole freakingsystem isu ndeclared!


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.




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]