|
From: | Felix Nawothnig |
Subject: | Re: [Tinycc-devel] casting bug? |
Date: | Mon, 11 Jul 2005 17:37:37 +0200 |
User-agent: | Mozilla Thunderbird 1.0.2 (X11/20050317) |
address@hidden wrote:
I believe that assignment should be the same as, x = 0;
No. Casting a pointer to an integer results in undefined behaviour (in ANSI/ISO C) although I dunno if that includes a compile-time error...
Felix
[Prev in Thread] | Current Thread | [Next in Thread] |