Re[2]: [cc65] preprocessor hazzle...

Date view Thread view Subject view

From: groepaz (groepaz_at_gmx.net)
Date: 2002-10-02 22:49:33


Hello Ullrich,

Wednesday, October 02, 2002, 3:08:25 PM, you wrote:


UvB> 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.

UvB> Fixed.

great! no i hope i will finish moving houses soon and get the linuxbox
up and running again.... maybe i can provide some nice (more or less
;=P) thingys then :)

-- 
Best regards,
 groepaz                            mailto:groepaz_at_gmx.net


----------------------------------------------------------------------
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 22:50:32 CEST