From: Groepaz (groepaz_at_gmx.net)
Date: 2003-08-29 09:48:57
i took snapshot from last nite again.... some more testing :) a) if('\77' != 63) { // fail } gives "illegal character constant" for the '\77' b) at a different place there is a tested if escaped control characters ('\n' etc) are translated correctly... '\v' gives "illegal character constant" here '\b' is translated without error 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 c) another test has a function like f(i) { i=f()+f(); } (this is supposed to be disassembled to see if it is correct, its obvously not quite doing something useful :)) 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? :)) d) using prototypes with k&r style function declaretions seems to be broken....cant say much here since i'm personally not used to k&r at all, however gcc compiles things like int test(char *s); test(*s) char *s; { } fine, but cc65 would give an "conflicting types for test" here however, this seems like its the last issue with k&r stuff in cc65 (there were a LOT more places where it barfed last time i checked)... last not least..,.. the tests that compile still dont work due to some appearent problem in the posix directory and/or cbm file i/o stuff.... mpf ok however i also noticed some things that improved since last check.... - functions that return structs seem to translate correctly now (i had to disable this before) - even enabling "functions can return structs" doesnt result in an error (?!?) does that really have been fixed or is that testsuite playing tricks on me? :) - several small problems with initializing structs and/or using curly braces in a "creative" way seem to be gone gpz ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2003-08-29 09:54:23 CEST