[cc65] more k&r c

Date view Thread view Subject view

From: Christian Groessler (cpg_at_aladdin.de)
Date: 2002-12-26 00:41:44


Hi,

the following program doesn't compile:


-------
int main(void)
{
        bla();
}

bla()
{
        return;
}
-------

gibbon:/net/swamp/zeug/ed/cc65$ cl65 -c x.c   
x.c(4): Warning: Function call without a prototype
x.c(10): Error: Function `bla' must return a value


regards,
chris



----------------------------------------------------------------------
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-12-26 00:43:40 CET