From: Piotr Fusik (P.Fusik_at_elka.pw.edu.pl)
Date: 2002-03-05 14:36:48
Hi! In stdlib.h there's: int __fastcall__ atoi (char* s); long __fastcall__ atol (char* s); Shouldn't there be const char* ? And what's wrong here: void test() { const char *p; char q[1]; p - q; // Error: Incompatible pointer types } here: #define TEST(c) test(#c) void test(char *p) { TEST("hello"); // Error: `)' expected } here: struct s a; const struct s *p; a = *p; // Error: Incompatible types and here: struct s a,b,c; a = b = c; // Error: Invalid lvalue in assignment ? Bye, Piotr ---------------------------------------------------------------------- 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 : 2002-03-05 14:39:37 CET