[cc65] Compile problems with newest cc65

From: Karri Kaksonen <karri1sipo.fi>
Date: 2012-03-11 11:39:27
The code below:

#include <6502.h>

void main(void) {
}

Produces lots of errors.

/usr/local/lib/cc65/include/6502.h(117): Warning: Implicit `int' is an 
obsolete feature
/usr/local/lib/cc65/include/6502.h(117): Error: `)' expected
/usr/local/lib/cc65/include/6502.h(117): Error: `{' expected
/usr/local/lib/cc65/include/6502.h(117): Error: Undefined symbol: 
`stack_size'
/usr/local/lib/cc65/include/6502.h(117): Warning: Statement has no effect
/usr/local/lib/cc65/include/6502.h(117): Error: `;' expected
/usr/local/lib/cc65/include/6502.h(117): Error: Expression expected
/usr/local/lib/cc65/include/6502.h(117): Warning: Statement has no effect
/usr/local/lib/cc65/include/6502.h(120): Error: Expression expected
/usr/local/lib/cc65/include/6502.h(120): Warning: Statement has no effect
/usr/local/lib/cc65/include/6502.h(120): Error: `;' expected
/usr/local/lib/cc65/include/6502.h(120): Error: Call to undefined 
function `reset_irq'
/usr/local/lib/cc65/include/6502.h(120): Error: Expression expected
test.c(3): Error: Expression expected
test.c(3): Warning: Statement has no effect
test.c(3): Error: `;' expected
test.c(3): Fatal: Too many errors

This did not happen a few weeks ago.

--
Regards,

Karri

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sun Mar 11 11:39:38 2012

This archive was generated by hypermail 2.1.8 : 2012-03-11 11:39:42 CET