Re: [cc65] snapshot

Date view Thread view Subject view

From: Marko Mäkelä (marko.makela_at_hut.fi)
Date: 2003-08-29 10:30:13


On Fri, Aug 29, 2003 at 09:48:57AM +0200, Groepaz wrote:
> mmmmh, i'm curious myself here, this translated without error before - 
> although i'm puzzled about '\v' and '\b', never seen nor used them before, 
> are these even standard ? (and what are they at all?) :=P

Here is an incomplete list off the top of my head.  The information
in parentheses is implementation defined:

\a=alert (BEL, ctrl-g)
\b=backspace (ctrl-h)
\t=horizontal tabulator (ctrl-i)
\n=newline (ctrl-j)
\v=vertical tabulator (ctrl-k)
\f=form feed (ctrl-l)
\r=carriage return (ctrl-m)

> this compiles fine with gcc, cc65 gives "too few arguments in function call".
> 
> not that i would personally find good use for this "feature" but well...the 
> standard.... :=P (wtf is this going to do anyway, some weirdo k&r thing i 
> suppose? :))

Is it worth supporting the K&R C?  If I remember correctly, the newest
GCC has dropped support for it.  You defined f(i) with one argument
(implicitly int, I guess) and called it with no arguments.  ISO 9899 has
been around for more than a decade - why should anyone still use the
non-standard K&R C, except when maintaining code written for an obsolete
compiler?

	Marko
----------------------------------------------------------------------
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 : 2003-08-29 10:31:32 CEST