[Top] [All Lists]

Re: [PATCH] I/O helpers rework

To: Atsushi Nemoto <>
Subject: Re: [PATCH] I/O helpers rework
From: Richard Sandiford <>
Date: Fri, 14 Jan 2005 11:05:18 +0000
In-reply-to: <> (Atsushi Nemoto's message of "Fri, 14 Jan 2005 10:52:27 +0900 (JST)")
Original-recipient: rfc822;
References: <> <> <> <>
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
Atsushi Nemoto <> writes:
> rsandifo> You can't dereference it, obviously, just like you can't
> rsandifo> deference a normal "void *".  But you can assign it to any
> rsandifo> "volatile T *" without an explicit cast.  I assumed that's
> rsandifo> what was happening in this case?
> Assigning "void *" to "volatile T *" is not a problem.  Compiler warns
> if you assigned "volatile T *" to "void *".

Ooops!  Quite right, and thanks for the correction.  (That's what
I meant to write really, honest ;)


<Prev in Thread] Current Thread [Next in Thread>