Re: [cc65] preprocessor hazzle...

Date view Thread view Subject view

From: Ullrich von Bassewitz (uz_at_musoftware.de)
Date: 2002-10-02 15:08:25


On Tue, Jul 30, 2002 at 04:28:10AM +0200, groepaz wrote:
> UvB> Works here. The only thing that does not work is something like this:
>
> UvB>         int bar;
>
> UvB>         void foo (void)
> UvB>         {
> UvB>             extern int bar;
> UvB>         }
>
> UvB> So as long as you don't have both, a declaration and an extern definition in
> UvB> your sources, they should be ok.
>
> well yes, its (ofcoz) like you say :o) there are global variables
> defined all over the source and then they are declared as extern in
> every function that uses them.

Fixed.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz_at_musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2002-10-02 15:10:07 CEST